IsolateServer class final

Implemented types
Implementers

Constructors

IsolateServer(Server server, SendPort sendPort)

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger?
The logger of the instance.
no setteroverride
receivePort ReceivePort
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendPort SendPort
final
server Server
final
url Uri
The URL that the server is listening on.
no setteroverride

Methods

close({bool force = false}) Future<void>
Closes the server and returns a future that completes when all resources are released.
override
listener(Object? value) → void
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

Static Methods

bind(SendPort sendPort, Handler handler, Object address, int port, {SecurityContext? securityContext, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, bool shared = false, Logger? logger}) Future<IsolateServer>
Binds a handler to an address and port.
override