Struct websocket::sender::Sender [] [src]

pub struct Sender { /* fields omitted */ }

A Sender that wraps a Writer and provides a default implementation using DataFrames and Messages.

Methods

impl Sender
[src]

Create a new WebSocketSender using the specified Writer.

Trait Implementations

impl Sender for Sender
[src]

Should the messages sent be masked. See the RFC for more detail. Read more

Sends a single data frame using this sender.

Sends a single message using this sender.