new GoAxiosAdapter()
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/adapters/GoAxiosAdapter.ts, line 4
Methods
-
handleError(error)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/adapters/GoAxiosAdapter.ts, line 51 -
Handles and transforms errors from the HTTP client.
Name Type Description errorThe original error
Returns:
Transformed error with consistent format -
mapToAxiosConfig(config)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/adapters/GoAxiosAdapter.ts, line 36 -
Maps HttpRequestConfig to Axios configuration format.
Name Type Description configHTTP request configuration
Returns:
Axios-compatible configuration -
asyncrequest(config)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/adapters/GoAxiosAdapter.ts, line 22 -
Sends an HTTP request using GoAxiosServices.
Name Type Description configRequest configuration
Returns:
Promise resolving to the response
