pub fn send_body_server(
            &mut self, stream: u64, fin: bool,
        ) -> Result<Vec<u8>> {
            let bytes = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

            self.server
                .send_body(&mut self.pipe.server, stream, &bytes, fin)?;

            self.advance().ok();

            Ok(bytes)
        }
/// Sends some default payload from server.
///
/// On success it returns the payload.
Sends some default payload from server.
On success it returns the payload.
Sends some default payload from server . On success it returns the payload .
pub fn send_body_server(
            &mut self, stream: u64, fin: bool,
        ) -> Result<Vec<u8>> {
            let bytes = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
            self.server
                .send_body(&mut self.pipe.server, stream, &bytes, fin)?;
            self.advance().ok();
            Ok(bytes)
        }
pub fn send_body_server ( & mut self , stream : u64 , fin : bool , ) -> Result < Vec < u8 > > { let bytes = vec ! [ 1 2 3 4 5 6 7 8 9 10 ] ; self . server . send_body ( & mut self . pipe . server , stream , & bytes , fin ) ? ; self . advance ( ) . ok ( ) ; Ok ( bytes ) }
Sends some default payload from server.
Sends some default payload from server .
&mut self
stream
u64
fin
bool
&mut self
stream
u64
fin
bool