HTTPServerRequestData

/ NOTE: just a possible idea for the low level api

struct HTTPServerRequestData {}

Constructors

this
this(SysTime time, ushort port)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

requestURL
alias requestURL = requestURI

Compatibility alias - scheduled for deprecation

Functions

path
string path()
Undocumented in source. Be warned that the author may not have intended to support it.
path
void path(string st)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

contentType
string contentType [@property getter]
string contentType [@property setter]

Returns the mime type part of the 'Content-Type' header.

contentTypeParameters
string contentTypeParameters [@property getter]

Returns any supplementary parameters of the 'Content-Type' header.

cookies
CookieValueMap cookies [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
files
FilePartFormFields files [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
form
FormFields form [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fullURL
URL fullURL [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
host
string host [@property getter]
string host [@property setter]

Shortcut to the 'Host' header (always present for HTTP 1.1)

json
Json json [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
peer
string peer [@property getter]

The IP address of the client

persistent
bool persistent [@property getter]

Determines if the connection persists across requests.

query
FormFields query [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rootDir
string rootDir [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
serverSettings
const(HTTPServerSettings) serverSettings [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timeCreated
SysTime timeCreated [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_query
Nullable!FormFields _query;
Undocumented in source.
bodyReader
InputStream bodyReader;
Undocumented in source.
clientAddress
NetworkAddress clientAddress;

The IP address of the client

clientCertificate
TLSCertificateInformation clientCertificate;
Undocumented in source.
context
DictionaryList!(Variant, true, 2) context;
Undocumented in source.
headers
InetHeaderMap headers;

All request headers

httpVersion
HTTPVersion httpVersion;

The HTTP protocol version used for the request

m_conn
InterfaceProxy!Stream m_conn;
Undocumented in source.
method
HTTPMethod method;

The HTTP method of the request

noLog
bool noLog;

Determines if the request should be logged to the access log file.

params
DictionaryList!(string, true, 8) params;

A map of general parameters for the request.

password
string password;
Undocumented in source.
queryString
string queryString;
Undocumented in source.
requestPath
InetPath requestPath;
Undocumented in source.
requestURI
string requestURI;

The request URI

session
Session session;
Undocumented in source.
tls
bool tls;

Determines if the request was issued over an TLS encrypted channel.

username
string username;
Undocumented in source.

Meta