BunHttpServerRequest.ts
BunHttpServerRequest.ts overview
Section titled “BunHttpServerRequest.ts overview”Accessor for the Bun request behind an Effect HTTP server request.
This module exports toBunServerRequest, which returns the underlying
Bun.BunRequest stored inside a Bun-backed HttpServerRequest. It is meant
for code that needs to interoperate with Bun-specific request APIs.
Since v4.0.0
Exports Grouped by Category
Section titled “Exports Grouped by Category”accessors
Section titled “accessors”toBunServerRequest
Section titled “toBunServerRequest”Returns the underlying Bun.BunRequest from an Effect HttpServerRequest.
Signature
declare const toBunServerRequest: <T extends string = string>(self: HttpServerRequest) => Bun.BunRequest<T>Since v4.0.0