Class HTTPServerRequest
Represents a HTTP request as received by the server side.
Fields
Name |
Type |
Description |
bodyReader
|
InputStream |
Supplies the request body as a stream.
|
clientAddress
|
NetworkAddress |
The IP address of the client
|
clientCertificate
|
TLSCertificateInformation |
Information about the TLS certificate provided by the client.
|
cookies
|
CookieValueMap |
Contains the list of cookies that are stored on the client.
|
files
|
vibe.utils.dictionarylist.__T14DictionaryListTS4vibe4inet7webform8FilePartVbi1Vmi0Vbi0Z.DictionaryList |
Contains information about any uploaded file for a HTML form request.
|
form
|
DictionaryList!(string,true,16L,false) |
Contains the parsed parameters of a HTML POST form request.
|
json
|
Json |
Contains the parsed Json for a JSON request.
|
noLog
|
bool |
Determines if the request should be logged to the access log file.
|
params
|
DictionaryList!(string,true,8L,false) |
|
password
|
string |
The password part of the URL, if present.
|
path
|
string |
The path part of the URL.
|
peer
|
string |
The IP address of the client
|
query
|
DictionaryList!(string,true,16L,false) |
Contains all form fields supplied using the query string.
|
queryString
|
string |
The query string part of the URL.
|
session
|
Session |
The current Session object.
|
tls
|
bool |
Determines if the request was issued over an TLS encrypted channel.
|
username
|
string |
The user name part of the URL, if present.
|
headers
|
DictionaryList!(string,false,12L,false) |
All request headers
|
httpVersion
|
HTTPVersion |
The HTTP protocol version used for the request
|
method
|
HTTPMethod |
The HTTP method of the request
|
requestURL
|
string |
The request URL
|
m_conn
|
Stream |
|
Properties
Name |
Type |
Description |
fullURL
[get]
|
URL |
The full URL that corresponds to this request.
|
rootDir
[get]
|
string |
The relative path to the root folder.
|
timeCreated
[get]
|
inout(std.datetime.SysTime) |
Time when this request started processing.
|
contentType
[get, set]
|
string |
Returns the mime type part of the 'Content-Type' header.
|
contentTypeParameters
[get]
|
string |
Returns any supplementary parameters of the 'Content-Type' header.
|
host
[get, set]
|
string |
Shortcut to the 'Host' header (always present for HTTP 1.1)
|
persistent
[get]
|
bool |
Determines if the connection persists across requests.
|
Aliases
Name |
Description |
ssl
|
Compatibility alias - use tls instead.
|
Authors
Sönke Ludwig, Jan Krüger, Ilya Shipunov
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.