Struct twist::server::HandshakeResponseFrame [] [src]

pub struct HandshakeResponseFrame { /* fields omitted */ }

Data needed to construct a server response to a client request.

Methods

impl Frame
[src]

Get the code value.

Set the code value {

Get the reason value.

Set the reason value {

Get the upgrade value.

Set the upgrade value.

Get the conn value.

Set the conn value.

Get the ws_key value.

Set the ws_key value.

Get the protocol value.

Set the protocol value.

Get the extensions value.

Set the extensions value.

Get the others value.

Set the others value.

Generate the Sec-WebSocket-Accept value.

Trait Implementations

impl Clone for Frame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Frame
[src]

Formats the value using the given formatter.

impl Default for Frame
[src]

Returns the "default value" for a type. Read more

impl Display for Frame
[src]

Formats the value using the given formatter. Read more