MCPcopy
hub / github.com/Effect-TS/effect / prefix

Method prefix

packages/platform/src/HttpApi.ts:87–87  ·  view source on GitHub ↗

* Prefix all endpoints in the `HttpApi`.

(prefix: HttpApiEndpoint.PathSegment)

Source from the content-addressed store, hash-verified

85 * Prefix all endpoints in the `HttpApi`.
86 */
87 prefix(prefix: HttpApiEndpoint.PathSegment): HttpApi<Id, Groups, E, R>
88 /**
89 * Add a middleware to a `HttpApi`. It will be applied to all endpoints in the
90 * `HttpApi`.

Callers 8

GroupsApiClass · 0.65
ApiClass · 0.65
UsersApiClass · 0.65
PeopleApiClass · 0.65
AnotherApiClass · 0.65
OpenApi.test.tsFile · 0.65
prefixFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected