vibe.d beta banner
get vibe.d
0.8.4

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
cookies Cookie[string]All cookies that shall be set on the client for this request
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

Properties

NameTypeDescription
contentType[get, set] stringShortcut to the "Content-Type" header

Methods

NameDescription
toString
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2015 RejectedSoftware e.K.

License

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