Http module

body_read_proc

procedure · 1 overloadSource

The Io.Reader read procedure over a response body: it reads through read_some, stops at the request's max_response_size, and keeps the client error it ran into in the Body_Reader (it can report only an Io_Error).

body_read_proc :: (data: *void, buffer: [] u8) -> (s64, Io.Io_Error)

The Io.Reader read procedure over a response body: it reads through read_some, stops at the request's max_response_size, and keeps the client error it ran into in the Body_Reader (it can report only an Io_Error).

Parameters

data: *void
buffer: [] u8

Returns

s64

See also