Skip to content
Myr

feat(bun): WebSocket helper supports that env be `{ server: server }` (#2812)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* feat: WebSocket helper supports `{ server }` * test: add test * chore: format code * fix: test * chore: format code * fix: format code with new rule * chore: format code Fixes #2645 Fixes #2696

authored by Shotaro Nakamura · committed by GitHub · parent a3d9cc7 · Browse files · 4 files+57 added−18 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+57 added−18 removed

  • tests:+19 added−0 removed
  • other:+38 added−18 removed

4 files+57 added−18 removed

modified:src/adapter/bun/conninfo.ts+2 added-9 removed
added:src/adapter/bun/server.test.ts+19 added
added:src/adapter/bun/server.ts+30 added
modified:src/adapter/bun/websocket.ts+6 added-9 removed