mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
switch to wisp-js
This commit is contained in:
parent
82249fe707
commit
a8db133241
6 changed files with 23 additions and 12 deletions
|
@ -3,7 +3,7 @@ ws ?= ?new WebSocketConstructor\(url, ?opts\)
|
|||
*/
|
||||
try {
|
||||
if (api.transport === "wisp") {
|
||||
ws = new WispWebSocket(url);
|
||||
ws = new wisp_client.client.WispWebSocket(url);
|
||||
}
|
||||
else if (api.transport === "wsproxy") {
|
||||
ws = new WebSocket(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue