Struct actix_http::h1::ClientPayloadCodec [−][src]
pub struct ClientPayloadCodec { /* fields omitted */ }Expand description
HTTP/1 Payload Codec
Implementations
Transform payload codec to a message codec
Trait Implementations
type Error = PayloadError
type Error = PayloadError
The type of unrecoverable frame decoding errors. Read more
Attempts to decode a frame from the provided buffer of bytes. Read more
fn decode_eof(
&mut self,
buf: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
fn decode_eof(
&mut self,
buf: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more