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

Method prefix

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

* Add a path prefix to all endpoints in an `HttpApiGroup`. Note that this will only * add the prefix to the endpoints before this api is called.

(
    prefix: Prefix
  )

Source from the content-addressed store, hash-verified

79 * add the prefix to the endpoints before this api is called.
80 */
81 prefix<const Prefix extends PathInput>(
82 prefix: Prefix
83 ): HttpApiGroup<Id, HttpApiEndpoint.AddPrefix<Endpoints, Prefix>, TopLevel>
84

Callers 1

prefixFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected