- chunkedInputStream
ChunkedInputStream chunkedInputStream(IS source_stream)
Creates a new ChunkedInputStream instance.
- createChunkedInputStreamFL
FreeListRef!ChunkedInputStream createChunkedInputStreamFL(IS source_stream)
Creates a new ChunkedInputStream instance.
- createChunkedOutputStream
ChunkedOutputStream createChunkedOutputStream(OS destination_stream)
ChunkedOutputStream createChunkedOutputStream(OS destination_stream, Allocator allocator)
Creates a new ChunkedInputStream instance.
- createChunkedOutputStreamFL
FreeListRef!ChunkedOutputStream createChunkedOutputStreamFL(OS destination_stream)
FreeListRef!ChunkedOutputStream createChunkedOutputStreamFL(OS destination_stream, Allocator allocator)
Creates a new ChunkedOutputStream instance.
- createRequestAllocator
auto createRequestAllocator()
Undocumented in source. Be warned that the author may not have intended to support it.
- enforceBadRequest
T enforceBadRequest(T condition, string message, string file, typeof(__LINE__) line)
Utility function that throws a HTTPStatusException with status code "400 Bad Request" if the condition is not met.
- enforceHTTP
T enforceHTTP(T condition, HTTPStatus statusCode, string message, string file, typeof(__LINE__) line)
Utility function that throws a HTTPStatusException if the condition is not met.
- freeRequestAllocator
void freeRequestAllocator(Allocator alloc)
Undocumented in source. Be warned that the author may not have intended to support it.
- getHTTPVersionString
string getHTTPVersionString(HTTPVersion ver)
- httpMethodFromString
HTTPMethod httpMethodFromString(string str)
Returns the HttpMethod value matching the given HTTP method string.
- httpMethodString
string httpMethodString(HTTPMethod m)
Returns the string representation of the given HttpMethod.
- parseHTTPCookie
string parseHTTPCookie(string header_string, Cookie dst)
Tuple!(string, Cookie) parseHTTPCookie(string header_string)
- parseHTTPVersion
HTTPVersion parseHTTPVersion(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
Common classes for HTTP clients and servers.