documentation for server_allow_unmasked improved

pull/159/head
Adam Bezecny (DHL IT Services) 4 years ago
parent a9adb42343
commit 4f7dab5d7b
  1. 4
      src/protocol/mod.rs

@ -53,7 +53,9 @@ pub struct WebSocketConfig {
/// If set to true it will allow the websocket server to accept unmasked frames from client.
/// Even though this behaviour is not in compliance with RFC 6455 (which requires the server
/// to close the connection when unmasked frame from client is received) it might be handy in some cases
/// as there are existing applications sending unmasked client frames.
/// as there are existing applications sending unmasked client frames. By default (i.e. unless not explicitly specified)
/// this flag is set to false which means violation of RFC 6455 is not allowed and unmasked client frames will be rejected
///by websocket server.
pub server_allow_unmasked: bool,
}

Loading…
Cancel
Save