Crate async_httype

Source

Structs§

Body
Relay
Request
Response

Enums§

Error

Functions§

flush_stream
read_chunked_stream
Streams chunk body data from input to output. Body length is unknown but we can provide size limit.
read_protocol_lines
Parses HTTP protocol headers into lines. What’s left in the stream represents request body. Limit in number of bytes for the protocol headers can be applied.
read_sized_stream
relay_chunked_stream
Streams chunk body data from input to output. Body length is unknown but we can provide size limit.
relay_sized_stream
Streams body data of known size from input to output. An exact body length (e.g. Content-Length header) must be provided for this transfer type.
vec_has_sequence
Returns true if the provided bytes array holds a specific sequance of bytes.
write_to_stream