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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|