HostSettings class
Constructors
- HostSettings({int isolatesMultiplier = defaultIsolatesMultiplier, int extraIsolates = defaultExtraIsolates, int port = 8080, SslSettings sslSettings = const SslSettings()})
- HostSettings.fromYaml(YamlMap yamlDocument)
-
factory
- HostSettings.fromYamlFile({String filename = 'appsettings.yaml'})
-
factory
Properties
- extraIsolates → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolatesMultiplier → int
-
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sslSettings → SslSettings
-
final
Methods
-
copyWith(
{int? isolatesMultiplier, int? extraIsolates, int? port, SslSettings? sslSettings}) → HostSettings -
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
Constants
- defaultExtraIsolates → const int
- defaultIsolatesMultiplier → const int