pub fn sendBody(r: *Request, buffer: []u8) Writer.Error!http.BodyWriter r: *Requestbuffer: []u8923
924
925
926
927 pub fn sendBody(r: *Request, buffer: []u8) Writer.Error!http.BodyWriter {
const result = try sendBodyUnflushed(r, buffer);
try r.connection.?.flush();
return result;
}
Transfers the HTTP head over the connection and flushes.
See also:
sendBodyUnflushed