D
Deno
Does fetch() support upgrading the connection to a websocket? - Deno
J
Deno
β’
3y ago
β’
2 replies
jcayzac
Does fetch() support upgrading the connection to a websocket?
What happens when
fetch()
fetch()
gets the response
HTTP/1.1 101 Switching Protocols
connection: upgrade
upgrade: websocket
HTTP/1.1 101 Switching Protocols
connection: upgrade
upgrade: websocket
β¦
? How to get the
WebSocket
WebSocket
object from there
?
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
Any plan to fix Deno.listenTls() timing out a WebSocket connection?
G
guest271314 / help
3y ago
fetch does not work
Z
Ziga Zajc / help
17mo ago
Catch/handle WebSocketStream connection reset error
#
# βπͺ·ε€ͺγΌ / help
2y ago
Websocket
D
Deno AI Helper / help
2y ago