http class final
HTTP configuration options for cloud functions.
- Annotations
-
- @Target({TargetKind.library, TargetKind.function})
Constructors
- http({HttpMethod method = HttpMethod.post, HttpStatus statusCode = HttpStatus.ok})
-
HTTP configuration options for cloud functions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → HttpMethod
-
The HTTP method this function supports.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → HttpStatus
-
The status code returned for a successful response.
final
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