Options
All
  • Public
  • Public/Protected
  • All
Menu

Intercepts and handles setting of configurations to outgoing HTTP request.

Hierarchy

  • HttpConfigInterceptor

Implements

  • HttpInterceptor

Index

Constructors

Methods

Constructors

constructor

  • Initialization of http config interceptor.

    Returns HttpConfigInterceptor

Methods

intercept

  • intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>
  • Intercepts HTTP requests.

    Parameters

    • request: HttpRequest<unknown>

      An outgoing HTTP request with an optional typed body.

    • next: HttpHandler

      The next HTTP handler or the outgoing request dispatcher.

    Returns Observable<HttpEvent<unknown>>

    The forwarded request.

Generated using TypeDoc