HttpConfig class
Allows for configuring the behavior of HTTP clients and servers.
Constructors
- HttpConfig({int? port, bool? secure})
- Creates a new HttpConfig object.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- port ↔ int?
-
Custom port number that should be used by a server.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secure ↔ bool?
-
Indicates if the client or server should use HTTPS.
getter/setter pair
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