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

pub trait SendFrame {
    fn send_raw_frame(&mut self, frame: RawFrame) -> HttpResult<()>;

    fn send_frame<F: Frame>(&mut self, frame: F) -> HttpResult<()> { ... }
}

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

Required Methods

Sends the given raw frame.

Provided Methods

Sends the given concrete frame.

A default implementation based on the send_raw_frame method is provided.

Implementors