IRemoteService<TResponse> Interface
A remote service used to communicate with the server side.
#Declaration
TypeScript
export interface IRemoteService<TResponse = any>
#Type Parameters
Name | Description |
---|---|
TResponse | A type of the request response. |
#Inheritance
#Properties
#getFromServer Property
Requests data from the server using the POST method.
#Declaration
TypeScript
getFromServer: (url: string, data?: Object, queryOptions?: Object, abortController?: AbortController) => TResponse
#Property Value
Type | Description |
---|---|
(url: string, data?: Object, query |
A type of the request response. |
#performPostback Property
Performs export requests to the server.
#Declaration
TypeScript
performPostback: (url: string, args: Object, abortController?: AbortController) => JQueryPromise<any>
#Property Value
Type | Description |
---|---|
(url: string, args: Object, abort |
A JQuery Promise object that is resolved after the action is completed. |
#postToServer Property
Posts data to the server using the POST method.
#Declaration
TypeScript
postToServer: (url: string, data?: Object, abortController?: AbortController) => TResponse
#Property Value
Type | Description |
---|---|
(url: string, data?: Object, abort |
A type of a request response. |