Struct wurl::util::options::Options [] [src]

pub struct Options {
    pub silent: bool,
    pub url: String,
    pub show_control_frames: Show,
    pub echo: bool,
    pub print_headers: bool,
    pub headers: Vec<String>,
}

Fields

Supresses all output except incoming frames

The WebSocket URL to connect to.

Specifies when to print control frames. Control frames will be prefixed with the type of control frame, for example "[ping]", and further prefixed with ">" for outgoing control frames

Print outgoing frames as well as the incoming frames. Outgoing frames will be prefixed with ">".

Print the headers of any HTTP request when true.

Headers

Methods

impl Options
[src]

[src]

Construct options for iterating over none of the symbol kinds.

Trait Implementations

impl Clone for Options
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Options
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Options
[src]

[src]

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

Auto Trait Implementations

impl Send for Options

impl Sync for Options