denoland/celld

Public

WebSocketRequestResponsePair is not a global on `celld`

BU

`WebSocketRequestResponsePair` is a global on Cloudflare's DO and any DO that references it throws a `ReferenceError` on `celld`.

Also, related: `setWebSocketAutoResponse` (which is very common for `ping`/`pong` frames) depends on `WebSocketRequestResponsePair`, so it can't be used. This method avoids hibernation, so it cannot be replaced with a regular `ping` listener that responds with a `pong` message, as this means the bill would become gigantic.

  1. ryclosed3 months ago on GitHub