vibe.d beta banner
get vibe.d
0.8.1

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
cookiesCookie[string]All cookies that shall be set on the client for this request
headersDictionaryList!(string,false,32L)The response header fields
httpVersionHTTPVersionThe protocol version of the response - should not be changed
statusCodeintThe status code of the response, 200 by default
statusPhrasestringThe 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 RejectedSoftware e.K.

License

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