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

Method toJSON

packages/effect/src/unstable/http/HttpBody.ts:461–468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459 this.contentLength = contentLength
460 }
461 toJSON(): unknown {
462 return {
463 _id: "effect/HttpBody",
464 _tag: "Stream",
465 contentType: this.contentType,
466 contentLength: this.contentLength
467 }
468 }
469}
470
471/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected