MirascopeLilypad

mirascope.tools.web._httpx

Module _httpx

Class HTTPXConfig

Configuration for HTTPX requests

Bases:

_ConfigurableToolConfig

Attributes

NameTypeDescription
timeoutint-

Class HTTPX

Bases:

_BaseHTTPX

Function call

Make an HTTP request to the given URL using HTTPX.

Parameters

NameTypeDescription
selfAny-

Returns

TypeDescription
strResponse text if successful, error message if request fails

Class AsyncHTTPX

Bases:

_BaseHTTPX

Function call

Make an asynchronous HTTP request to the given URL using HTTPX.

Parameters

NameTypeDescription
selfAny-

Returns

TypeDescription
strResponse text if successful, error message if request fails