IsolateSpawnParameter class

Constructors

IsolateSpawnParameter(int isolateId, AppConfig config, List<DoxProvider> providers, {List<RouteData> routes = const <RouteData>[], List<RouteData> fallbacks = const <RouteData>[], List<StaticFolder> statics = const <StaticFolder>[], Map<String, RouteBinding> bindings = const <String, RouteBinding>{}, SendPort? control, SendPort? rateLimitPort})
const

Properties

bindings → Map<String, RouteBinding>
binders from Route.bind
final
config → AppConfig
final
control → SendPort?
the isolate sends its own SendPort here once it serves requests. The main isolate sends a stop message to it on shutdown.
final
fallbacks → List<RouteData>
routes from Route.fallback
final
hashCode → int
The hash code for this object.
no setterinherited
isolateId → int
final
providers → List<DoxProvider>
final
rateLimitPort → SendPort?
the port of the main isolate that keeps the RateLimit counts, see RateLimitCounter
final
routes → List<RouteData>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statics → List<StaticFolder>
folders from Route.staticFiles
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