Package: @effect/platform-bun
Module: BunHttpServer
Bun serve options accepted by the HTTP server, extended with typed route definitions.
Signature
type ServeOptions<R> = & (
| Bun.Serve.UnixServeOptions<WebSocketContext>
| Bun.Serve.HostnamePortServeOptions<WebSocketContext>
)
& { readonly routes?: Bun.Serve.Routes<WebSocketContext, R> }
Since v4.0.0