HTTPServerRequest

Represents a HTTP request as received by the server side.

Constructors

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

Public Imports

vibe.utils.dictionarylist
public import vibe.utils.dictionarylist;
Undocumented in source.

Members

Functions

path
string path()

Imports

Variant (from std.variant)
public import std.variant : Variant;
Undocumented in source.

Properties

cookies
CookieValueMap cookies [@property getter]

Contains the list of cookies that are stored on the client.

files
FilePartFormFields files [@property getter]

Contains information about any uploaded file for a HTML _form request.

form
FormFields form [@property getter]

Contains the parsed parameters of a HTML POST form request.

fullURL
URL fullURL [@property getter]

The full URL that corresponds to this request.

json
Json json [@property getter]

Contains the parsed Json for a JSON request.

peer
string peer [@property getter]

The IP address of the client

query
FormFields query [@property getter]

Contains all _form fields supplied using the query string.

rootDir
string rootDir [@property getter]

The relative path to the root folder.

serverSettings
const(HTTPServerSettings) serverSettings [@property getter]

The settings of the server serving this request.

timeCreated
SysTime timeCreated [@property getter]

Time when this request started processing.

Variables

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

Supplies the request body as a stream.

clientAddress
NetworkAddress clientAddress;

The IP address of the client

clientCertificate
TLSCertificateInformation clientCertificate;

Information about the TLS certificate provided by the client.

context
DictionaryList!(Variant, true, 2) context;

A map of context items for 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;

The password part of the URL, if present.

queryString
string queryString;

The _query string part of the URL.

requestPath
InetPath requestPath;

The path part of the requested URI.

session
Session session;

The current Session object.

tls
bool tls;

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

username
string username;

The user name part of the URL, if present.

Meta