Struct ws::Builder [] [src]

pub struct Builder { /* fields omitted */ }
[]

Utility for constructing a WebSocket from various settings.

Methods

impl Builder
[src]

[]

Create a new Builder with default settings.

[]

Build a WebSocket using this builder and a factory. It is possible to use the same builder to create multiple WebSockets.

[]

Set the WebSocket settings to use.

Trait Implementations

impl Debug for Builder
[src]

[]

Formats the value using the given formatter.

impl Clone for Builder
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Copy for Builder
[src]