Skip to content

feat: add bindings for inbound connect() TCP handler - #1041

Open
ThomasRubini wants to merge 7 commits into
cloudflare:mainfrom
ThomasRubini:connect-bindings
Open

feat: add bindings for inbound connect() TCP handler#1041
ThomasRubini wants to merge 7 commits into
cloudflare:mainfrom
ThomasRubini:connect-bindings

Conversation

@ThomasRubini

Copy link
Copy Markdown

Dependent on cloudflare/workers-sdk#14995 because I'd love to add a wrangler config with the TCP handler in the example

@ThomasRubini ThomasRubini changed the title feat: add bindings for connect() feat: add bindings for inbound connect() TCP handler Aug 3, 2026

@guybedford guybedford left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It would be great to include this when ready. Please just make sure to include a full test once the SDK change has landed.

Comment thread worker/src/lib.rs Outdated
@ThomasRubini

ThomasRubini commented Aug 20, 2026

Copy link
Copy Markdown
Author

@guybedford AFAIK tests use miniflare and not wrangler, and miniflare is currently experimenting with a v5 alpha release, which means the only way to test connect() is to switch all tests to use an unstable (?) API
Would you accept a follow-up PR for a test once miniflare v5 releases (I'm not sure when that'll be) ?

@ThomasRubini
ThomasRubini marked this pull request as ready for review August 20, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants