HttpRoute class

ServerUniverseUncompleteDocumentation

Constructors

HttpRoute(String route, FutureOr callback(HttpRequest req, HttpResponse res), ServerUniverseMethodType method, {List<FutureOr Function(HttpRequest req, HttpResponse res)> middleware = const []})
ServerUniverseUncompleteDocumentation

Properties

callback → FutureOr Function(HttpRequest req, HttpResponse res)
ServerUniverseUncompleteDocumentation
final
hashCode → int
The hash code for this object.
no setterinherited
matcher ↔ RegExp
ServerUniverseUncompleteDocumentation
latefinal
method → ServerUniverseMethodType
ServerUniverseUncompleteDocumentation
final
middleware → List<FutureOr Function(HttpRequest req, HttpResponse res)>
ServerUniverseUncompleteDocumentation
final
params → Iterable<HttpRouteParam>
ServerUniverseUncompleteDocumentation
no setter
route → String
ServerUniverseUncompleteDocumentation
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
usesWildcardMatcher → bool
ServerUniverseUncompleteDocumentation
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited