Module vibe.http.common

Common classes for HTTP clients and servers.

Functions

Name Description
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
StrMapCI Behaves like string[string] but case does not matter for the key.

Enums

Name Description
HttpMethod
HttpVersion

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.