Browse Source

Remove unsupported WS transport

Removes the spam of `Server got message 'Binary Data<length=3>'.`
pull/670/head
Jellyfrog 6 years ago
committed by GitHub
parent
commit
2ccbc1cd38
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/api/notifications.rs

2
src/api/notifications.rs

@ -26,7 +26,7 @@ fn negotiate(_headers: Headers, _conn: DbConn) -> JsonResult {
let mut available_transports: Vec<JsonValue> = Vec::new();
if CONFIG.websocket_enabled() {
available_transports.push(json!({"transport":"WebSockets", "transferFormats":["Text","Binary"]}));
available_transports.push(json!({"transport":"WebSockets", "transferFormats":["Text"]}));
}
// TODO: Implement transports

Loading…
Cancel
Save