SPHttpMethod enum

Supported HTTP verbs. Only GET and HEAD are automatically retried.

Inheritance
Available extensions

Values

get → const SPHttpMethod

Reads a resource.

post → const SPHttpMethod

Creates or submits data.

put → const SPHttpMethod

Replaces a resource; not automatically retried.

patch → const SPHttpMethod

Partially updates a resource.

delete → const SPHttpMethod

Deletes a resource; not automatically retried.

Reads response headers without decoding a body.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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<SPHttpMethod>
A constant List of the values in this enum, in order of their declaration.