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

pub struct ServerSession<'a, State> where
    State: SessionState + 'a, 
{ /* 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, 
[src]

Trait Implementations

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

Notifies the Session that a new data chunk has arrived on the connection for a particular stream. Only the raw data is passed to the callback (all padding is already discarded by the connection). Read more

Notifies the Session that headers have arrived for a particular stream. The given list of headers is already decoded by the connection. Read more

Notifies the Session that a particular stream got closed by the peer.