Trait tungstenite::stream::NoDelay [−][src]
pub trait NoDelay {
fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>;
}
Expand description
Trait to switch TCP_NODELAY.
Required methods
fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>
fn set_nodelay(&mut self, nodelay: bool) -> IoResult<()>
Set the TCP_NODELAY option to the given value.