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?
Returns
HTTPState
Overrides
BaseClient.constructor
Methods
id()
id():
Promise<ID>
A unique identifier for this HTTPState.
Returns
Promise<ID>