123456789101112131415161718192021222324module 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();
}
Represents a single HTTP header.
| Name | Description |
|---|---|
| __xdtor |
| Name | Description |
|---|---|
| name |
The name of the header. |
| opAssign | |
| value |
The value of the header. |
| Name | Description |
|---|---|
| __ctor |
Creates a new header with the given name and value. |