workerd
workerd copied to clipboard
The JavaScript / Wasm runtime that powers Cloudflare Workers
_(re-do of https://github.com/cloudflare/workerd/pull/110, let's try this again 🙂 )_ Hey! 👋 This PR adds support for generating TypeScript types from JSG RTTI, replacing the internal `autodecl` script. This forms the...
### WIP This lays the groundwork for removing the actor from the actor map. Was hoping to move `Worker::Actor::Impl` up a level to `Worker::ActorImpl` as the first commit to try...
Initial implementation wiring together the Cache API and the `cacheApiOutbound` binding. I've tested this with a WIP Miniflare plugin, and it seems to send the cache API requests out as...
Browsers set the compression extension by default when `new WebSocket()` is called, since the API doesn't give the caller control over that header. See step 9 of whatwg's [opening handshake...
* Allows multiple respond/respondWithNewView to partially resolve readAtLeast byob reads. * Fix IdentityTransformStream minBytes calculation * Properly calculate atLeast with multi-byte views /cc @harrishancock
`Deafult` -> `Default`
~~Still need to check if I need to implement gcvisitor on the MultipartUpload object, since it contains a jsg::Ref.~~
Durable Objects let me do this ```js export class Worker { constructor(state, env) { // hell yea constructors this.state = state this.env = env } async fetch(req) { return new...
Reproduction repo: https://github.com/Mitch528/workerd-streams-repro ``` > [email protected] start > workerd serve config.capnp --experimental workerd/server/server.c++:1842: error: Uncaught exception: workerd/io/io-context.c++:1211: failed: remote.jsg.Error: The script will never generate a response. stack: 102a7e3b4 102a7ebd4 102a7f3e0...
POST / HTTP/1.1 User-Agent: PostmanRuntime/7.29.2 Accept: */* Cookie: BDSVRTM=0 Content-Length: 0 parse request as empty formData. TypeError: Parsing a Body as FormData requires a Content-Type header.