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

Method toJSON

packages/effect/src/unstable/http/Multipart.ts:576–584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

574 }
575
576 toJSON(): unknown {
577 return {
578 _id: "@effect/platform/Multipart/Part",
579 _tag: "Field",
580 key: this.key,
581 contentType: this.contentType,
582 value: this.value
583 }
584 }
585}
586
587class FileImpl extends PartBase implements File {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected