Skip to main content

Class: HTTPState

An internal persistent HTTP state.

Extends​

  • BaseClient

Constructors​

Constructor​

new HTTPState(ctx?, _id?): HTTPState

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

HTTPStateID

Returns​

HTTPState

Overrides​

BaseClient.constructor

Methods​

id()​

id(): Promise<HTTPStateID>

A unique identifier for this HTTPState.

Returns​

Promise<HTTPStateID>