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

Method prefix

packages/effect/src/unstable/httpapi/HttpApi.ts:93–93  ·  view source on GitHub ↗

* Prefix all endpoints in the `HttpApi`.

(prefix: Prefix)

Source from the content-addressed store, hash-verified

91 * Prefix all endpoints in the `HttpApi`.
92 */
93 prefix<const Prefix extends PathInput>(prefix: Prefix): HttpApi<Id, HttpApiGroup.AddPrefix<Groups, Prefix>>
94
95 /**
96 * Adds a middleware to every endpoint currently in the `HttpApi`.

Callers 1

prefixFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected