Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

WebSocket support#128

Merged
jamesopstad merged 11 commits intomainfrom
james/websocket-support
Jan 15, 2025
Merged

WebSocket support#128
jamesopstad merged 11 commits intomainfrom
james/websocket-support

Conversation

@jamesopstad
Copy link
Contributor

@jamesopstad jamesopstad commented Jan 14, 2025

resolves #20

This adds support for WebSockets. There are some intricacies still to figure out around gracefully handling connection closing but, unless there is a quick solution, I think that could be done in a follow up PR. For now, there are sometime workerd errors when a connection is closed.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 14, 2025

Open in Stackblitz

npm i https://pkg.pr.new/flarelabs-net/vite-plugin-cloudflare/@flarelabs-net/vite-plugin-cloudflare@128

commit: 192f4e8

Copy link
Contributor

@dario-piotrowicz dario-piotrowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🙂 , I just left some minor comments

@jamesopstad jamesopstad force-pushed the james/websocket-support branch from b25120e to 192f4e8 Compare January 15, 2025 17:11
@jamesopstad jamesopstad merged commit b852a42 into main Jan 15, 2025
5 checks passed
@jamesopstad jamesopstad deleted the james/websocket-support branch January 15, 2025 17:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support WebSockets

2 participants

Comments