Skip to main content
Version: Next

GotScrapingHttpClient

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

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

sendRequest

  • Perform an HTTP Request and return the complete response.


    Type parameters

    Parameters

    Returns Promise<HttpResponse<TResponseType>>

stream

  • Perform an HTTP Request and return after the response headers are received. The body may be read from a stream contained in the response.


    Parameters

    Returns Promise<StreamingHttpResponse>

Page Options