mirror of
https://github.com/django/daphne.git
synced 2025-08-04 10:30:08 +03:00
Upgrade reconnecting-websocket (#734)
* fix url in comment * upgrade reconnecting-websocket
This commit is contained in:
parent
3111f3b8ac
commit
2d4886dfa0
|
@ -23,7 +23,7 @@
|
|||
],
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"reconnecting-websocket": "^3.0.3"
|
||||
"reconnecting-websocket": "^3.2.1"
|
||||
},
|
||||
"jest": {
|
||||
"roots": [
|
||||
|
|
|
@ -30,7 +30,7 @@ export class WebSocketBridge {
|
|||
* @param {String} [url] The url of the websocket. Defaults to
|
||||
* `window.location.host`
|
||||
* @param {String[]|String} [protocols] Optional string or array of protocols.
|
||||
* @param {Object} options Object of options for [`reconnecting-websocket`](https://github.com/joewalnes/reconnecting-websocket#options-1).
|
||||
* @param {Object} options Object of options for [`reconnecting-websocket`](https://github.com/pladaria/reconnecting-websocket#configure).
|
||||
* @example
|
||||
* const webSocketBridge = new WebSocketBridge();
|
||||
* webSocketBridge.connect();
|
||||
|
|
Loading…
Reference in New Issue
Block a user