Struct headers_ext::SecWebsocketAccept[][src]

pub struct SecWebsocketAccept(_);

The Sec-Websocket-Accept header.

This header is used in the Websocket handshake, sent back by the server indicating a successful handshake. It is a signature of the Sec-Websocket-Key header.

Example

use headers::{SecWebsocketAccept, SecWebsocketKey};

let sec_key: SecWebsocketKey = /* from request headers */

let sec_accept = SecWebsocketAccept::from(sec_key);

Trait Implementations

impl Clone for SecWebsocketAccept
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SecWebsocketAccept
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SecWebsocketAccept
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SecWebsocketAccept
[src]

impl Hash for SecWebsocketAccept
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<SecWebsocketKey> for SecWebsocketAccept
[src]

Performs the conversion.

Auto Trait Implementations