Std.Http.Message.responseComplete
1 declaration
fn
responseComplete: &Bytes -> &Std.Http.Method -> BoolThis is a callable function.
What it does
Whether a complete response has arrived without waiting for its connection to close.
A declared length and a terminating chunk frame are message boundaries. HEAD and statuses
that never carry a body end at the blank line after their headers. A response without one of
those boundaries remains incomplete until its transport reports closure.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
