vibe.d beta banner
get vibe.d
0.7.30

Module vibe.http.common

Common classes for HTTP clients and servers.

Functions

Name Description
enforceBadRequest Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.
enforceHTTP Utility function that throws a HTTPStatusException if the condition is not met.
getHTTPVersionString
httpMethodFromString Returns the HttpMethod value matching the given HTTP method string.
httpMethodString Returns the string representation of the given HttpMethod.
parseHTTPVersion

Classes

Name Description
ChunkedInputStream Takes an input stream that contains data in HTTP chunked format and outputs the raw data.
ChunkedOutputStream Outputs data to an output stream in HTTP chunked format.
Cookie
HTTPRequest Represents an HTTP request made to a server.
HTTPResponse Represents the HTTP response from the server back to the client.
HTTPStatusException Respresents a HTTP response status.
MultiPart

Structs

Name Description
CookieValueMap

Enums

Name Description
HTTPMethod
HTTPVersion
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.