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

Method toJSON

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

Source from the content-addressed store, hash-verified

188 this.contentLength = contentLength
189 }
190 toJSON(): unknown {
191 return {
192 _id: "effect/HttpBody",
193 _tag: "Raw",
194 body: this.body,
195 contentType: this.contentType,
196 contentLength: this.contentLength
197 }
198 }
199}
200
201/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected