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 HttpHeader

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module juptune.http.common;

struct HttpHeader
{
    /++ TEMPLATES ++/
    
    /// Creates a new header with the given name and value. 
    template __ctor(NameT, ValueT){}
    
    /++ ALIASES ++/
    
    ///
    alias __xdtor = __MARMOS_BUG__;
    
    /++ FUNCTIONS ++/
    
    /// The name of the header. 
    String name();
    ///
    HttpHeader opAssign(HttpHeader p);
    /// The value of the header. 
    String value();
    
}

Documentation

Represents a single HTTP header.

Aliases

Name Description
__xdtor

Functions

Name Description
name

The name of the header.

opAssign
value

The value of the header.

Templates

Name Description
__ctor

Creates a new header with the given name and value.