Struct websocket::header::Origin
[-] [+]
[src]
pub struct Origin(pub String);
Represents an Origin header
pub struct Origin(pub String);
Represents an Origin header
impl Deref for Origin
impl Header for Origin
fn header_name() -> &'static str
fn parse_header(raw: &[Vec<u8>]) -> Option<Origin>
impl HeaderFormat for Origin
fn fmt_header(&self, fmt: &mut Formatter) -> Result
impl Debug for Origin
impl Clone for Origin
fn clone(&self) -> Origin
fn clone_from(&mut self, source: &Self)
impl PartialEq for Origin
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
).