Type Alias Config

Config: {
    apiKey?: string;
    clientAgents?: string[];
    host: string;
    httpClient?: (input: string, init?: RequestInit) => Promise<any>;
    requestConfig?: Partial<Omit<RequestInit, "body" | "method">>;
    timeout?: number;
}

Type declaration

  • OptionalapiKey?: string
  • OptionalclientAgents?: string[]
  • host: string
  • OptionalhttpClient?: (input: string, init?: RequestInit) => Promise<any>
  • OptionalrequestConfig?: Partial<Omit<RequestInit, "body" | "method">>
  • Optionaltimeout?: number