Struct websocat::options::Options[][src]

pub struct Options {
    pub websocket_text_mode: bool,
    pub websocket_protocol: Option<String>,
    pub udp_oneshot_mode: bool,
    pub unidirectional: bool,
    pub unidirectional_reverse: bool,
    pub exit_on_eof: bool,
    pub oneshot: bool,
    pub unlink_unix_socket: bool,
    pub exec_args: Vec<String>,
    pub ws_c_uri: String,
    pub linemode_strip_newlines: bool,
    pub linemode_strict: bool,
    pub origin: Option<String>,
    pub custom_headers: Vec<(String, Vec<u8>)>,
    pub websocket_version: Option<String>,
    pub websocket_dont_close: bool,
    pub one_message: bool,
    pub no_auto_linemode: bool,
    pub buffer_size: usize,
    pub broadcast_queue_len: usize,
    pub read_debt_handling: DebtHandling,
    pub linemode_zero_terminated: bool,
}

Fields

Trait Implementations

impl Default for Options
[src]

Return Options { websocket_text_mode: Default::default(), websocket_protocol: Default::default(), udp_oneshot_mode: Default::default(), unidirectional: Default::default(), unidirectional_reverse: Default::default(), exit_on_eof: Default::default(), oneshot: Default::default(), unlink_unix_socket: Default::default(), exec_args: Default::default(), ws_c_uri: Default::default(), linemode_strip_newlines: Default::default(), linemode_strict: Default::default(), origin: Default::default(), custom_headers: Default::default(), websocket_version: Default::default(), websocket_dont_close: Default::default(), one_message: Default::default(), no_auto_linemode: Default::default(), buffer_size: 65536, broadcast_queue_len: 16, read_debt_handling: DebtHandling::Silent, linemode_zero_terminated: Default::default() }

impl Debug for Options
[src]

Formats the value using the given formatter. Read more

impl Clone for Options
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Options

impl Sync for Options