Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FetchHttpClient

Hierarchy

  • FetchHttpClient

Implements

Constructors

Properties

Methods

Constructors

constructor

Properties

Private circuitBreaker

circuitBreaker: any = (null as unknown) as typeof Breaker

Private httpOptions

httpOptions: object | undefined = undefined

Private Readonly signer

signer: RequestSigner | null

Methods

send

  • send(req: HttpRequest, forceExcludeBody?: boolean, targetService?: string, operationName?: string, timestamp?: string, endpoint?: string, apiReferenceLink?: string): Promise<Response>
  • Parameters

    • req: HttpRequest
    • Default value forceExcludeBody: boolean = false
    • Default value targetService: string = ""
    • Default value operationName: string = ""
    • Default value timestamp: string = new Date().toISOString()
    • Default value endpoint: string = ""
    • Default value apiReferenceLink: string = ""

    Returns Promise<Response>