[−][src]Trait solicit::http::connection::SendFrame
A trait that should be implemented by types that can provide the functionality of sending HTTP/2 frames.
Required Methods
fn send_raw_frame(&mut self, frame: RawFrame) -> HttpResult<()>
Sends the given raw frame.
Provided Methods
fn send_frame<F: Frame>(&mut self, frame: F) -> HttpResult<()>
Sends the given concrete frame.
A default implementation based on the send_raw_frame
method is provided.
Implementors
impl<W> SendFrame for W where
W: Write,
[src]
impl<W> SendFrame for W where
W: Write,
A blanket implementation of SendFrame
is possible for any type that is also an
io::Write
.
fn send_frame<F: Frame>(&mut self, frame: F) -> HttpResult<()>
[src]
fn send_frame<F: Frame>(&mut self, frame: F) -> HttpResult<()>
fn send_raw_frame(&mut self, frame: RawFrame) -> HttpResult<()>
[src]
fn send_raw_frame(&mut self, frame: RawFrame) -> HttpResult<()>