Struct tk_http::websocket::Key
[−]
[src]
pub struct Key(_);
The Sec-WebSocket-Key
header value
You can add it using enc.format_header("Sec-WebSocket-Key", key)
.
Or use any other thing that supports Display
.
Methods
impl Key
[src]
Trait Implementations
impl Display for Key
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more