Type Alias hyper::proto::h1::ClientTransaction

source ·
pub(crate) type ClientTransaction = Client;

Aliased Type§

enum ClientTransaction {}

Variants§

Implementations§

source§

impl Client

source

fn decoder( inc: &MessageHead<StatusCode>, method: &mut Option<Method> ) -> Result<Option<(DecodedLength, bool)>, Parse>

Returns Some(length, wants_upgrade) if successful.

Returns None if this message head should be skipped (like a 100 status).

source

fn set_length( head: &mut MessageHead<RequestLine>, body: Option<BodyLength> ) -> Encoder

Trait Implementations§