Skip to main content
Version: Next

FetchHttpClient

A HTTP client implementation using the native fetch API.

This implementation does not support proxying.

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

fetch

  • fetch(request, options): Promise<Response>
  • Perform the raw network request and return a single Response without any automatic redirect following or special error handling.


    Parameters

    Returns Promise<Response>

inheritedsendRequest

  • sendRequest(initialRequest, options): Promise<Response>
  • Public fetch-like method that handles redirects and uses provided proxy and cookie jar.


    Parameters

    Returns Promise<Response>

Page Options