Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs Http1ReadResponseConfig

1
2
3
4
5
6
7
8
9
10
11
12
13
14
module juptune.http.v1;

struct Http1ReadResponseConfig
{
    /++ FUNCTIONS ++/
    
    ///
    Http1ReadResponseConfig withIsBodyless(bool v);
    
    /++ VARIABLES ++/
    
    /// If set to true, then the response will be forced to be interpreted as a bodyless response, regardless of what the headers say. 
    bool isBodyless;
}

Documentation

Configuration for reading a response.

This is neccessary as the reader does not have context of the overall state of the request/response pipeline, so certain things must be configured by the user code.

Functions

Name Description
withIsBodyless

Variables

Name Description
isBodyless

If set to true, then the response will be forced to be interpreted as a bodyless response, regardless of what the headers say.