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

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

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

Implementors