Function HTTPClientRequest.writeBody
Writes the whole request body at once using raw bytes.
void writeBody
(
RandomAccessStream data
) @safe;
void writeBody
(
InputStream data
) @safe;
void writeBody
(
InputStream data,
ulong length
) @safe;
void writeBody
(
const(ubyte[]) data,
string content_type = null
) @safe;