BeagleHttpMethod enum

Http method to indicate the desired action to be performed for a given resource.

Inheritance

Constructors

BeagleHttpMethod()
const

Values

put → const BeagleHttpMethod

The PUT method replaces all current representations of the target resource with the request payload.

get → const BeagleHttpMethod

The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.

post → const BeagleHttpMethod

The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

delete → const BeagleHttpMethod

The DELETE method deletes the specified resource.

patch → const BeagleHttpMethod

The PATCH method is used to apply partial modifications to a resource.

The HEAD method asks for a response identical to that of a GET request, but without the response body.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<BeagleHttpMethod>
A constant List of the values in this enum, in order of their declaration.