Trait httpbis::solicit::connection::SendFrame
[−]
[src]
pub trait SendFrame { fn send_frame<F: FrameIR>(&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
fn send_frame<F: FrameIR>(&mut self, frame: F) -> HttpResult<()>
Queue the given frame for immediate sending to the peer. It is the responsibility of each
individual SendFrame
implementation to correctly serialize the given FrameIR
into an
appropriate buffer and make sure that the frame is subsequently eventually pushed to the
peer.
Implementors
impl SendFrame for VecSendFrame