Documents for @litert/xxl-job-integration / AdminApiClient / createAdminApiClient
Function: createAdminApiClient()
createAdminApiClient(
options
):IAdminApiClient
Defined in: src/lib/AdminApiClient.ts:142
Create a new instance of the built-in API client for XXL-Job admin .
The built-in client uses the undici
library for making HTTP requests. You can create your own implementation of the IAdminApiClient
interface if you want to use a different HTTP client or have custom logic.
Parameters
options
The options for creating the API client.
Returns
The new instance of the API client.