public class IRequestShortcutConfig extends IHttpProviderDefaults
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Object> |
data
{string|Object}
Data to be sent as the request message data.
|
Objs.Property<Object> |
params
{Object.
|
Objs.Property<String> |
responseType
See [XMLHttpRequest.responseType]https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype
|
Objs.Property<Union.A2<Number,IPromise<Object>>> |
timeout
Timeout in milliseconds, or promise that should abort the request when resolved.
|
cache, headers, paramSerializer, transformRequest, transformResponse, withCredentials, xsrfCookieName, xsrfHeaderName
Modifier | Constructor and Description |
---|---|
protected |
IRequestShortcutConfig(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IRequestShortcutConfig |
$as(Object obj) |
String |
responseType() |
headers, withCredentials, xsrfCookieName, xsrfHeaderName
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Object> params
public Objs.Property<Object> data
public Objs.Property<Union.A2<Number,IPromise<Object>>> timeout
public Objs.Property<String> responseType
protected IRequestShortcutConfig(Objs.Constructor<?> c, Object js)
public static IRequestShortcutConfig $as(Object obj)
public String responseType()
Copyright © 2018. All rights reserved.