mirascope.tools.web._httpx
Module _httpx
Class HTTPXConfig
Configuration for HTTPX requests
Bases:
_ConfigurableToolConfigAttributes
Name | Type | Description |
---|---|---|
timeout | int | - |
Class HTTPX
Bases:
_BaseHTTPXFunction call
Make an HTTP request to the given URL using HTTPX.
Parameters
Name | Type | Description |
---|---|---|
self | Any | - |
Returns
Type | Description |
---|---|
str | Response text if successful, error message if request fails |
Class AsyncHTTPX
Bases:
_BaseHTTPXFunction call
Make an asynchronous HTTP request to the given URL using HTTPX.
Parameters
Name | Type | Description |
---|---|---|
self | Any | - |
Returns
Type | Description |
---|---|
str | Response text if successful, error message if request fails |