Constructor
                        
                        
    
    # new HttpClient(api, timeoutopt)
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| api | string | The URL of your Hanko API instance | |
| timeout | number | <optional> | The request timeout in milliseconds | 
Methods
# delete(path) → {Promise.<Response>}
        Performs a DELETE request.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | The path to the requested resource. | 
Promise.<Response>
    # get(path) → {Promise.<Response>}
        Performs a GET request.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | The path to the requested resource. | 
Promise.<Response>
    # patch(path, bodyopt) → {Promise.<Response>}
        Performs a PATCH request.
    
    
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| path | string | The path to the requested resource. | |
| body | any | <optional> | The request body. | 
Promise.<Response>
    # post(path, bodyopt) → {Promise.<Response>}
        Performs a POST request.
    
    
    Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| path | string | The path to the requested resource. | |
| body | any | <optional> | The request body. | 
Promise.<Response>