HttpServer class
Constructors
- HttpServer(dynamic _serverSocket, HttpRequestHandler requestHandler, void onSocketError(dynamic error, StackTrace stack), void onProtocolError(dynamic error, StackTrace stack), void onStreamError(dynamic error, StackTrace stack))
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onProtocolError → void Function(dynamic error, StackTrace stack)
-
final
- onSocketError → void Function(dynamic error, StackTrace stack)
-
final
- onStreamError → void Function(dynamic error, StackTrace stack)
-
final
- requestHandler → HttpRequestHandler
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> - Closes the HttpServer and its io.ServerSocket.
-
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