HttpMethod enum
HTTP defines a set of request methods to indicate the desired action to be performed for a given resource.
Values
- GET → const HttpMethod
-
The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
- HEAD → const HttpMethod
-
The HEAD method asks for a response identical to that of a GET request, but without the response body.
- POST → const HttpMethod
-
The POST method sends data (stored in the request body) to a server to create or update a given resource.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
HttpMethod> - A constant List of the values in this enum, in order of their declaration.