- writeBody
void writeBody(RandomAccessStream data)
void writeBody(InputStream data)
void writeBody(InputStream data, ulong length)
void writeBody(ubyte[] data, string content_type)
Writes the whole request body at once using raw bytes.
- writeFormBody
void writeFormBody(T key_value_map)
Writes the request body as form data.
- writeJsonBody
void writeJsonBody(T data, bool allow_chunked)
Writes the request body as JSON data.
- writePart
void writePart(MultiPart part)
Undocumented in source. Be warned that the author may not have intended to support it.
Represents a HTTP client request (as sent to the server).