[][src]Trait solicit::http::connection::ReceiveFrame

pub trait ReceiveFrame {
    fn recv_frame(&mut self) -> HttpResult<HttpFrame>;
}

A trait that should be implemented by types that can provide the functionality of receiving HTTP/2 frames.

Required methods

fn recv_frame(&mut self) -> HttpResult<HttpFrame>

Return a new HttpFrame instance. Unknown frames can be wrapped in the HttpFrame::UnknownFrame variant (i.e. their RawFrame representation).

Loading content...

Implementors

impl<'a, TS> ReceiveFrame for TransportReceiveFrame<'a, TS> where
    TS: TransportStream
[src]

Loading content...