RequestQueueClient
Hierarchy
- ResourceClient
- RequestQueueClient
Index
Constructors
constructor
Parameters
options: ApiClientSubResourceOptions
userOptions: RequestQueueUserOptions = {}
Returns RequestQueueClient
Properties
apifyClient
baseUrl
httpClient
optionalid
optionalparams
resourcePath
optionalsafeId
url
Methods
addRequest
Parameters
request: Omit<RequestQueueClientRequestSchema, id>
options: RequestQueueClientAddRequestOptions = {}
Returns Promise<RequestQueueClientAddRequestResult>
delete
Returns Promise<void>
deleteRequest
Parameters
id: string
Returns Promise<void>
get
Returns Promise<undefined | RequestQueue>
getRequest
Parameters
id: string
Returns Promise<undefined | RequestQueueClientGetRequestResult>
listHead
Parameters
options: RequestQueueClientListHeadOptions = {}
Returns Promise<RequestQueueClientListHeadResult>
update
Parameters
newFields: RequestQueueClientUpdateOptions
Returns Promise<RequestQueue>
updateRequest
Parameters
request: RequestQueueClientRequestSchema
options: RequestQueueClientAddRequestOptions = {}
Returns Promise<RequestQueueClientAddRequestResult>