Type Alias tungstenite::handshake::client::Response
source · pub type Response = Response<Option<Vec<u8>>>;
Expand description
Client response type.
Aliased Type§
struct Response {
head: Parts,
body: Option<Vec<u8, Global>>,
}
Fields§
§head: Parts
§body: Option<Vec<u8, Global>>
Trait Implementations§
source§impl<'h, 'b: 'h> FromHttparse<Response<'h, 'b>> for Response
impl<'h, 'b: 'h> FromHttparse<Response<'h, 'b>> for Response
source§fn from_httparse(raw: Response<'h, 'b>) -> Result<Self>
fn from_httparse(raw: Response<'h, 'b>) -> Result<Self>
Convert raw object into parsed HTTP headers.