Skip to main content

is_too_large

Function is_too_large 

Source
fn is_too_large(e: &Error) -> bool
Expand description

Whether a read failed for a message larger than the server takes. The WebSocket cannot be read anymore then, the rest of the message did not get read, but the server can still close it, see close, and has to drain it then.