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
websocket_text_mode: bool
websocket_protocol: Option<String>
udp_oneshot_mode: bool
unidirectional: bool
unidirectional_reverse: bool
exit_on_eof: bool
oneshot: bool
unlink_unix_socket: bool
exec_args: Vec<String>
ws_c_uri: String
linemode_strip_newlines: bool
linemode_strict: bool
origin: Option<String>
custom_headers: Vec<(String, Vec<u8>)>
websocket_version: Option<String>
websocket_dont_close: bool
one_message: bool
no_auto_linemode: bool
buffer_size: usize
broadcast_queue_len: usize
read_debt_handling: DebtHandling
linemode_zero_terminated: bool
Trait Implementations
impl Default for Options
[src]
impl Default for Options
fn default() -> Self
[src]
fn default() -> Self
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]
impl Debug for Options
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Options
[src]
impl Clone for Options