Skip to main content

AsyncClientHandler

An async version of ClientHandler.

Attributes

AttributeTypeDescription
enforce_csrf_checksboolean = trueA boolean flag that determines whether the handler should validate CSRF tokens for incoming requests.

Constructor

Signature

def AsyncClientHandler(
enforce_csrf_checks: boolean = True,
*args: any,
**kwargs: any
)

Parameters

NameTypeDescription
enforce_csrf_checksboolean = TrueDetermines whether CSRF checks should be enforced for requests handled by this client.
*argsanyVariable length argument list passed to the parent class constructor.
**kwargsanyArbitrary keyword arguments passed to the parent class constructor.