Skip to main content

close

Function close 

Source
pub(super) fn close(too_large: bool, reason: &str) -> Message
Expand description

The close of the server once it is done, or after the client sent a message larger than the server takes, see is_too_large, which tells the client why.