Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GenericRetrier

Hierarchy

  • GenericRetrier

Constructors

constructor

Properties

Private _logger

_logger: Logger = (undefined as unknown) as Logger

Private _retryConfiguration

_retryConfiguration: RetryConfigurationDetails

Static Private DefaultRetryConfiguration

DefaultRetryConfiguration: RetryConfigurationDetails = NoRetryConfigurationDetails

Static Private OPC_CLIENT_RETRIES_HEADER

OPC_CLIENT_RETRIES_HEADER: string = "opc-client-retries"

Accessors

backUpBinaryBody

  • get backUpBinaryBody(): boolean

logger

  • set logger(logger: Logger): void

retryConfiguration

Static defaultRetryConfiguration

Methods

Private addOpcClientRetryHeader

makeServiceCall

  • makeServiceCall(httpClient: HttpClient, request: HttpRequest, excludeBody?: undefined | false | true): Promise<Response>

Static createPreferredRetrier

Static Private isRequestRetryable

  • isRequestRetryable(request: HttpRequest): undefined | false | true

Static Private isRetryableStream

  • isRetryableStream(obj: any): boolean

Static Private refreshRequest