Struct solicit::http::server::ServerSession [] [src]

pub struct ServerSession<'a, State> where State: SessionState + 'a {
    // some fields omitted
}

An implementation of the Session trait for a server-side HTTP/2 connection.

Methods

impl<'a, State> ServerSession<'a, State> where State: SessionState + 'a

fn new(state: &'a mut State) -> ServerSession<State>

Trait Implementations

impl<'a, State> Session for ServerSession<'a, State> where State: SessionState + 'a

fn new_data_chunk(&mut self, stream_id: StreamId, data: &[u8])

fn new_headers(&mut self, stream_id: StreamId, headers: Vec<Header>)

fn end_of_stream(&mut self, stream_id: StreamId)