MCPcopy Create free account
hub / github.com/continuedev/continue / pre

Method pre

packages/continue-sdk/typescript/api/src/runtime.ts:482–482  ·  view source on GitHub ↗
(context: RequestContext)

Source from the content-addressed store, hash-verified

480
481export interface Middleware {
482 pre?(context: RequestContext): Promise<FetchParams | void>;
483 post?(context: ResponseContext): Promise<Response | void>;
484 onError?(context: ErrorContext): Promise<Response | void>;
485}

Callers 1

BaseAPIClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected