pub fn make_sendable(&mut self) -> Vec<u8> {
        let mut ident = self.response_identifiers.make_sendable();
        let mut headers = self.make_headers_sendable();
        let mut vec = Vec::with_capacity(1);
        vec.append(&mut ident);
        vec.append(&mut headers);
        vec.append(&mut "\r\n".as_bytes().to_vec());
        vec.append(&mut self.body);
        vec
    }
/// Makes the response into a sendable byte vector
Makes the response into a sendable byte vector
Makes the response into a sendable byte vector
pub fn make_sendable(&mut self) -> Vec<u8> {
        let mut ident = self.response_identifiers.make_sendable();
        let mut headers = self.make_headers_sendable();
        let mut vec = Vec::with_capacity(1);
        vec.append(&mut ident);
        vec.append(&mut headers);
        vec.append(&mut "\r\n".as_bytes().to_vec());
        vec.append(&mut self.body);
        vec
    }
pub fn make_sendable ( & mut self ) -> Vec < u8 > { let mut ident = self . response_identifiers . make_sendable ( ) ; let mut headers = self . make_headers_sendable ( ) ; let mut vec = Vec :: with_capacity ( 1 ) ; vec . append ( & mut ident ) ; vec . append ( & mut headers ) ; vec . append ( & mut " \r \n " . as_bytes ( ) . to_vec ( ) ) ; vec . append ( & mut self . body ) ; vec }
Makes the response into a sendable byte vector
Makes the response into a sendable byte vector
&mut self
&mut self