Type Alias hyper::proto::h1::ServerTransaction

source ·
pub(crate) type ServerTransaction = Server;

Aliased Type§

enum ServerTransaction {}

Variants§

Implementations§

source§

impl Server

source

fn can_have_body(method: &Option<Method>, status: StatusCode) -> bool

source

fn can_chunked(method: &Option<Method>, status: StatusCode) -> bool

source

fn can_have_content_length(method: &Option<Method>, status: StatusCode) -> bool

source

fn can_have_implicit_zero_content_length( method: &Option<Method>, status: StatusCode ) -> bool

source

fn encode_headers_with_lower_case( msg: Encode<'_, StatusCode>, dst: &mut Vec<u8>, is_last: bool, orig_len: usize, wrote_len: bool ) -> Result<Encoder>

source

fn encode_headers_with_original_case( msg: Encode<'_, StatusCode>, dst: &mut Vec<u8>, is_last: bool, orig_len: usize, wrote_len: bool, orig_headers: &HeaderCaseMap ) -> Result<Encoder>

source

fn encode_headers<W>( msg: Encode<'_, StatusCode>, dst: &mut Vec<u8>, is_last: bool, orig_len: usize, wrote_len: bool, header_name_writer: W ) -> Result<Encoder>where W: HeaderNameWriter,

Trait Implementations§