Comments (3)
This is definitely something that will be supported in the future. Note that we'll probably support WebSocket first: #794
There are some discussions in WinterCG to land a common API for sockets, so we'll wait for it to avoid creating a proprietary API: wintercg/admin#43 (comment)
There is also a proposal from Chrome for a Direct Sockets API, but I don't know what's the state of it: https://github.com/WICG/direct-sockets/
from lagon.
Cloudflare just released their connect()
API: https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases/
from lagon.
This is definitely something that will be supported in the future. Note that we'll probably support WebSocket first: #794
There are some discussions in WinterCG to land a common API for sockets, so we'll wait for it to avoid creating a proprietary API: wintercg/admin#43 (comment)
There is also a proposal from Chrome for a Direct Sockets API, but I don't know what's the state of it: https://github.com/WICG/direct-sockets/
Common API for sockets maybe be trickly, seems Deno and Workerd share the same interface connect
which is not the same as the Direct Sockets API proposal
- https://github.com/cloudflare/workerd/blob/main/samples/tcp/gopher.js#L25
- https://deno.com/deploy/docs/runtime-sockets
If I can make a bold guess, I will guess Direct Sockets API has a long way to be final...
from lagon.
Related Issues (20)
- Database HOT 1
- Non-ASCII characters in static files
- Cannot start dashboard due to sentry/webpack bug
- Local development should not require remote auth
- Group functions in a project
- Support apex domains
- Spending limit
- Regional Deployments
- Support TypeScript in the playground
- RSA-OAEP for `SubtleCrypto#encrypt` & `SubtleCrypto#decrypt`
- `SubtleCrypto#generateKey` should support hash
- Universal packages version unification HOT 1
- Allow deleting a Function with environment variables
- Support localStorage api HOT 1
- Lagon sites timeout when behind Cloudflare WARP HOT 3
- Exclude examples from pnpm-workspace HOT 2
- Re-implement Web APIs in Rust
- Deployments Password Protection
- Add `waitUntil` helper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lagon.