Skip to main content
Version: Version 5 beta

Interface: HttpOptions

Options that are applied to an HTTP request.

Properties

headers?

optional headers: object

A set of custom HTTP headers to include in the request.

Each header is represented as a key-value pair, where the key is the header name and the value is the header value. These headers will be sent with the HTTP request when loading a document from a URI.

Index Signature

[key: string]: string