D
Deno
Can I add properties to a websocket object? - Deno
C
Deno
β’
3y ago
β’
12 replies
capo_greco
Can I add properties to a websocket object?
console.dir (socket.id)
console.dir (socket)
Object.assign (this.control.id, socket.id)
console.dir (socket.id)
console.dir (socket)
Object.assign (this.control.id, socket.id)
I am adding an id object to the sockets to help keep track of them
, but something is giving rise to this behaviour
, which doesn
't seem to make sense
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Can't upgrade request to websocket
F
FjordWarden / help
3y ago
How can I add tailwindcss to a deno/vite/solidjs project?
S
Stef / help
15mo ago