fetcher/http

Members

# (inner, constant) timeout :number

The request's timeout value in milliseconds

Type:
  • number

Methods

# (async, static) fn(data) → {object|string}

Execute a fetch request

Parameters:
Name Type Description
data object

Data used in the request

Properties
Name Type Description
url string

The URL pointing at targeted content

format string

The format of the targeted content

Returns:
Type
object | string