MCPcopy Create free account
hub / github.com/arctic-cli/interface / createInterceptors

Function createInterceptors

packages/sdk/js/src/gen/client/utils.gen.ts:257–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255
256// do not add `Middleware` as return type so we can use _fns internally
257export const createInterceptors = <Req, Res, Err, Options>() => ({
258 error: new Interceptors<ErrInterceptor<Err, Res, Req, Options>>(),
259 request: new Interceptors<ReqInterceptor<Req, Options>>(),
260 response: new Interceptors<ResInterceptor<Res, Req, Options>>(),
261})
262
263const defaultQuerySerializer = createQuerySerializer({
264 allowReserved: false,

Callers 1

createClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected