constructRequest
constructRequest(
options):Promise<ReadStateRequest>
Defined in: packages/agent/src/polling/index.ts:231
Constructs a read state request for the given paths. If the request is already signed and has an expiry, it will be returned as is. Otherwise, a new request will be created.
Parameters
Section titled “Parameters”options
Section titled “options”The options to use for creating the request.
The agent to use to create the request.
Uint8Array<ArrayBufferLike>[][]
The paths to read from.
pollingOptions
Section titled “pollingOptions”The options to use for creating the request.
Returns
Section titled “Returns”Promise<ReadStateRequest>
The read state request.