Struct ws::Builder [] [src]

pub struct Builder { /* fields omitted */ }

Utility for constructing a WebSocket from various settings.

Methods

impl Builder
[src]

[src]

Create a new Builder with default settings.

[src]

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

[src]

Set the WebSocket settings to use.

Trait Implementations

impl Debug for Builder
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Builder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Builder
[src]