MCPcopy Index your code
hub / github.com/Effect-TS/effect / setPayload

Function setPayload

packages/platform/src/HttpApiEndpoint.ts:779–784  ·  view source on GitHub ↗
(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any)

Source from the content-addressed store, hash-verified

777 })
778 },
779 setPayload(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any) {
780 return makeProto({
781 ...this,
782 payloadSchema: Option.some(schema)
783 })
784 },
785 setPath(this: HttpApiEndpoint.AnyWithProps, schema: Schema.Schema.Any) {
786 return makeProto({
787 ...this,

Callers

nothing calls this directly

Calls 1

makeProtoFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…