Global

Type Definitions

HttpMethod

Source:
Type:
  • "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "OPTIONS"

HttpRequestOptions

Source:
Properties:
Name Type Attributes Description
method HttpMethod <optional>
url String <optional>
params Object <optional>
headers Object <optional>
type string <optional>
request type "json"|"xml"|"array-buffer"|"blob"|undefined
data any <optional>
request content data
finish function <optional>
finish callback, called after all other callbacks
success function <optional>
success callback
fail function <optional>
fail callback
progress function <optional>
progress callback
prepare function <optional>
prepare callback, called before send
uploadProgress function <optional>
upload progress callback
uploadFinish function <optional>
upload finish callback
Http request arguments
Type:
  • Object