Freigeben über


HttpRequest Klasse

Ein HTTP-Anforderungsobjekt.

Vererbung
azure.functions._http.HttpRequest
HttpRequest

Konstruktor

HttpRequest(method: str, url: str, *, headers: Mapping[str, str], params: Mapping[str, str], route_params: Mapping[str, str], body_type: str, body: str | bytes)

Parameter

Name Beschreibung
method
Erforderlich
url
Erforderlich

Keyword-Only Parameter

Name Beschreibung
headers
Erforderlich
params
Erforderlich
route_params
Erforderlich
body_type
Erforderlich
body
Erforderlich

Methoden

get_body
get_json

get_body

get_body() -> bytes

get_json

get_json() -> Any

Attribute

files

form

headers

method

params

route_params

url