ConstructorOptions

external interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract external val cancelFunction: CancelCallback?

The function that is called when the request is cancelled.

Link copied to clipboard
abstract external val priority: Double?

The initial priority of the request. Default value - 0.0

Link copied to clipboard
abstract external val priorityFunction: PriorityCallback?

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

Link copied to clipboard
abstract external val requestFunction: RequestCallback?

The function that makes the actual data request.

Link copied to clipboard
abstract external val serverKey: String?

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

Link copied to clipboard
abstract external val 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 external val throttleByServer: Boolean?

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

Link copied to clipboard
abstract external val type: RequestType?

The type of request. Default value - RequestType.OTHER

Link copied to clipboard
abstract external val url: String?

The url to request.