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. Read more

impl Default for Builder
[src]

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

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]

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder