MCPcopy
hub / github.com/tsrpc/tsrpc / HttpClientOptions

Interface HttpClientOptions

src/client/http/HttpClient.ts:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191export interface HttpClientOptions<ServiceType extends BaseServiceType> {
192 server: string;
193 proto: ServiceProto<ServiceType>;
194 logger: Logger;
195 /** API超时时间(毫秒) */
196 timeout: number;
197 agent?: http.Agent;
198}
199

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected