issues Search Results · repo:jjxxs/websocket-ts language:TypeScript
Filter by
17 results
(99 ms)17 results
injjxxs/websocket-ts (press backspace or delete to remove)Im getting
|- ReferenceError: WebSocket is not defined
at Websocket.tryConnect (/home/ubuntu/svelte/node_modules/websocket-ts/dist/cjs/src/websocket.js:308:41)
but if I put
const WebSocket = require( ...
apeman76
- Opened 14 days ago
- #38
Hi! It looks like we just got an update and my CI just started failing:
error: [ERR_MODULE_NOT_FOUND] Cannot find module file:///home/alex/.cache/deno/npm/registry.npmjs.org/websocket-ts/2.2.0/dist/esm/src/backoff/constantbackoff ...
alexgleason
- 2
- Opened 19 days ago
- #36
Problem: hundreds of WebSocket connections are kept open even if they aren t being used.
Why use backoff at all? Because this is part of a distributed system.
If the WebSocket connection dies, I only ...
alexgleason
- 1
- Opened on Feb 25, 2024
- #33
In consumer code it is not possible to use a string in the event listener:
image
The only way is to import the the WebsocketEvent enum and use WebsocketEvent.open. IMO this should not be an enum at
all, ...
alexgleason
- 1
- Opened on Feb 25, 2024
- #32
Right now url is static, whilee sometines you might be getting either the function or promise which might return
different urls between retries
Lonli-Lokli
- Opened on Feb 23, 2024
- #31
Dealing with a legacy project using v1.1.1, it uses LRUBuffer, like so: .withBuffer(new LRUBuffer(1000))
Upgrading to v2.5.5, I see LRUBuffer no longer exists, but seems to be now RingQueue.
Is the functionality ...
kalnode
- 1
- Opened on Jan 29, 2024
- #30
window is not available in workers, setTimeout is, which makes using this largely impossible outside of the window
context. Is there some reason to use window.setTimeout rather than nothing or globalThis? ...
AntonOfTheWoods
- 4
- Opened on Oct 8, 2023
- #28
I have a websocket server which requires authentication by checking token in the header. How can I pass in headers?
zhaoyi0113
- 1
- Opened on Mar 22, 2023
- #23
Based on a quick read of this source code:
https://github.com/jjxxs/websocket-ts/blob/0b9673c1799293d08d9de9d0d71c6711c628412b/src/websocket.ts#L150-L160
And this:
https://github.com/jjxxs/websocket-ts/blob/0b9673c1799293d08d9de9d0d71c6711c628412b/src/websocket.ts#L71-L74 ...
steveluscher
- 2
- Opened on Dec 10, 2022
- #22
it say WebSocket is not defined. I cant find where it define too.
PS. it is WebSocket not Websocket
rexwu1104
- 2
- Opened on May 20, 2022
- #19

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.