Skip to content

ConstructRequest

constructRequest(options): Promise<ReadStateRequest>

Defined in: packages/agent/src/polling/index.ts:226

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.

The options to use for creating the request.

Agent

The agent to use to create the request.

Uint8Array<ArrayBufferLike>[][]

The paths to read from.

PollingOptions

The options to use for creating the request.

Promise<ReadStateRequest>

The read state request.