Skip to content

Client

Client

A client for sending HTTP requests.

Examples:

>>> from reqflow import Client
>>>
>>> client = Client(base_url="https://some_url.com")

__init__(base_url='', logging=False)

Parameters:

Name Type Description Default
base_url str

The base URL for all requests sent by this client. The URL parameter is optional and can be overridden by the URL parameter in when() method.

''
logging bool

If True, logs will be stored for each request sent by this client.

False