MCPcopy Create free account
hub / github.com/Effect-TS/effect / toJSON

Method toJSON

packages/platform/bun/src/BunHttpServer.ts:378–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

376 this.remoteAddressOverride = remoteAddressOverride
377 }
378 toJSON(): unknown {
379 return IncomingMessage.inspect(this, {
380 _id: "HttpServerRequest",
381 method: this.method,
382 url: this.originalUrl
383 })
384 }
385 modify(
386 options: {
387 readonly url?: string | undefined

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected