pub fn send_frame_server(
            &mut self, frame: frame::Frame, stream_id: u64, fin: bool,
        ) -> Result<()> {
            let mut d = [42; 65535];

            let mut b = octets::OctetsMut::with_slice(&mut d);

            frame.to_bytes(&mut b)?;

            let off = b.off();
            self.pipe.server.stream_send(stream_id, &d[..off], fin)?;

            self.advance().ok();

            Ok(())
        }
/// Sends a single HTTP/3 frame from the server.
Sends a single HTTP/3 frame from the server.
Sends a single HTTP / 3 frame from the server .
pub fn send_frame_server(
            &mut self, frame: frame::Frame, stream_id: u64, fin: bool,
        ) -> Result<()> {
            let mut d = [42; 65535];
            let mut b = octets::OctetsMut::with_slice(&mut d);
            frame.to_bytes(&mut b)?;
            let off = b.off();
            self.pipe.server.stream_send(stream_id, &d[..off], fin)?;
            self.advance().ok();
            Ok(())
        }
pub fn send_frame_server ( & mut self , frame : frame :: Frame , stream_id : u64 , fin : bool , ) -> Result < ( ) > { let mut d = [ 42 ; 65535 ] ; let mut b = octets :: OctetsMut :: with_slice ( & mut d ) ; frame . to_bytes ( & mut b ) ? ; let off = b . off ( ) ; self . pipe . server . stream_send ( stream_id , & d [ .. off ] , fin ) ? ; self . advance ( ) . ok ( ) ; Ok ( ( ) ) }
Sends a single HTTP/3 frame from the server.
Sends a single HTTP / 3 frame from the server .
&mut self
frame
frame::Frame
stream_id
u64
fin
bool
&mut self
frame
frame::Frame
stream_id
u64
fin
bool