ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard

The function that is called when the request is cancelled.

Link copied to clipboard
abstract var priority: Double?

The initial priority of the request. Default value - 0.0

Link copied to clipboard

The function that is called to update the request's priority, which occurs once per frame.

Link copied to clipboard

The function that makes the actual data request.

Link copied to clipboard
abstract var serverKey: String?

A key used to identify the server that a request is going to.

Link copied to clipboard
abstract var throttle: Boolean?

Whether to throttle and prioritize the request. If false, the request will be sent immediately. If true, the request will be throttled and sent based on priority. Default value - false

Link copied to clipboard
abstract var throttleByServer: Boolean?

Whether to throttle the request by server. Default value - false

Link copied to clipboard
abstract var type: RequestType?

The type of request. Default value - RequestType.OTHER

Link copied to clipboard
abstract var url: String?

The url to request.