Skip to main content

SendRequestFunction

Type of a function for performing an HTTP request.

Index

Methods

Methods

__call__

  • __call__(*, url, method, headers): Coroutine[None, None, HttpResponse]
  • Parameters

    • optionalkeyword-onlyurl: str
    • optionalkeyword-onlymethod: HttpMethod = 'GET'
    • optionalkeyword-onlyheaders: (HttpHeaders | dict[str, str]) | None = None

    Returns Coroutine[None, None, HttpResponse]

Page Options