Struct tungstenite::handshake::client::Response [−][src]
Server response.
Fields
code: u16
HTTP response code of the response.
headers: Headers
Received headers.
Trait Implementations
impl Debug for Response[src]
impl Debug for Responsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'h, 'b: 'h> FromHttparse<Response<'h, 'b>> for Response[src]
impl<'h, 'b: 'h> FromHttparse<Response<'h, 'b>> for Responsefn from_httparse(raw: Response<'h, 'b>) -> Result<Self>[src]
fn from_httparse(raw: Response<'h, 'b>) -> Result<Self>Convert raw object into parsed HTTP headers.