ServerOptions class
Options for configuring a Server.
Constructors
- ServerOptions()
- Constructs default ServerOptions.
Properties
- authRequired ← bool
-
Sets whether authentication is required.
no getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onError ← void Function(JSObject e)
-
Sets the error handler function.
no getter
- onRequest ← void Function(JSObject)
-
Sets the request handler function.
no getter
- onResponse ← void Function(JSObject)
-
Sets the response handler function.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialization ← Serialization
-
Sets the serialization method.
no getter
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