Server class

Describes the properties of the proxy on a given load balancer port.

Constructors

Server({String? name, String? defaultEndpoint, String? bind, Port? port, List<String>? hosts, ServerTLSSettings? tls})
The main constructor.
const
Server.fromJson(Map<String, dynamic> json)
Creates a Server from JSON data.

Properties

bind String?
Bind.
final
defaultEndpoint String?
Default endpoint.
final
hashCode int
The hash code for this object.
no setterinherited
hosts List<String>?
One or more hosts exposed by this gateway.
final
name String?
An optional name of the server, when set must be unique across all servers.
final
port Port?
Port.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tls ServerTLSSettings?
TLS.
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

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<Server>
Creates a list of Server from JSON data.