vibe.d beta banner
get vibe.d
0.9.0

Asynchronous I/O that doesn’t get in your way, written in D

Class HTTPResponse

Represents the HTTP response from the server back to the client.

class HTTPResponse ;

Fields

NameTypeDescription
headers DictionaryList!(string,false,12L,false)The response header fields
httpVersion HTTPVersionThe protocol version of the response - should not be changed
statusCode intThe status code of the response, 200 by default
statusPhrase stringThe status phrase of the response
m_cookies DictionaryList!(vibe.http.common.Cookie,true,32L,false)

Properties

NameTypeDescription
contentType[get, set] stringShortcut to the "Content-Type" header
cookies[get] DictionaryList!(vibe.http.common.Cookie,true,32L,false)All cookies that shall be set on the client for this request

Methods

NameDescription
toString ()
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2015 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.