Struct websocket::header::WebSocketProtocol
[-] [+]
[src]
pub struct WebSocketProtocol(pub Vec<String>);
Represents a Sec-WebSocket-Protocol header
pub struct WebSocketProtocol(pub Vec<String>);
Represents a Sec-WebSocket-Protocol header
impl Deref for WebSocketProtocol
impl Header for WebSocketProtocol
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<WebSocketProtocol>
impl HeaderFormat for WebSocketProtocol
fn fmt_header(&self, fmt: &mut Formatter) -> Result
impl Debug for WebSocketProtocol
impl Clone for WebSocketProtocol
fn clone(&self) -> WebSocketProtocol
fn clone_from(&mut self, source: &Self)
impl PartialEq for WebSocketProtocol
fn eq(&self, __arg_0: &WebSocketProtocol) -> bool
fn ne(&self, __arg_0: &WebSocketProtocol) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).