DefaultHttpServiceHandler class
- Inheritance
-
- Object
- HttpService
- DefaultHttpServiceHandler
Constructors
- DefaultHttpServiceHandler({String? host, int? port})
Properties
- address → String
-
no setteroverride
- context ↔ BuildContext
-
The context in which the service attached
latefinalinherited
-
defaultResponseHeaders
→ Map<
String, dynamic> ? -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
Service is initialized
getter/setter pairinherited
- port ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext ↔ SecurityContext?
-
getter/setter pairinherited
- server ↔ HttpServer
-
getter/setter pair
-
serverBind
→ Future<
HttpServer> -
no setter
Methods
-
ensureInitialize(
) → Future< bool> -
Wait service is initialized.
inherited
-
handleHttpRequest(
HttpRequest request) → Future< void> -
override
-
init(
) → FutureOr< bool> - Init Service
-
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