Modifier and Type | Field and Description |
---|---|
Request.CancelCallback |
cancelFunction
The function that is called when the request is cancelled.
|
double |
priority
The initial priority of the request.
|
Request.PriorityCallback |
priorityFunction
The function that is called to update the request's priority, which occurs once per frame.
|
Request.RequestCallback |
requestFunction
The function that makes the actual data request.
|
boolean |
throttle
Whether to throttle and prioritize the request.
|
boolean |
throttleByServer
Whether to throttle the request by server.
|
Number |
type
The type of request.
|
boolean |
url
The url to request.
|
Constructor and Description |
---|
RequestOptions() |
@JsProperty public boolean url
@JsProperty public Request.RequestCallback requestFunction
@JsProperty public Request.CancelCallback cancelFunction
@JsProperty public Request.PriorityCallback priorityFunction
@JsProperty public double priority
@JsProperty public boolean throttle
@JsProperty public boolean throttleByServer
@JsProperty public Number type
Copyright © 2019. All rights reserved.