PreparedAction
Sourceimport { PreparedAction } from "@prestojs/rest";
API
Constructor
new PreparedAction(action,urlResolveOptions,options)
SourceParameter | Type | Description | |
---|---|---|---|
* | action | Endpoint | |
* | urlResolveOptions | UrlResolveOptions | |
* | options | ExecuteInitOptions |
Methods
Properties
action: Endpoint
options: EndpointExecuteOptions
Key | Type | Description | |
---|---|---|---|
headers | HeadersInit|Record | Any headers to add to the request. You can unset default headers that might be specified in the default
| |
paginator | PaginatorInterface|null | The paginator instance to use. This can be provided in the constructor to use by default for all executions of this endpoint or provided for each call to the endpoint. Only applicable if paginationMiddleware has been added to the Endpoint. | |
query | Query | ||
urlArgs | Record |