Skip to main content
Version: Next

GotScrapingHttpClient

A HTTP client implementation based on the got-scraping library.

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