ServerInfo class

ServerInfo is a class that contains information about the server. It's used to get information about the server.

Constructors

ServerInfo(dynamic address, int port, bool autoCompress, HttpHeaders defaultResponseHeaders, Duration? idleTimeout, String? serverHeader)
ServerInfo is a constructor that creates a new ServerInfo object.

Properties

address ↔ dynamic
address is the address of the server.
getter/setter pair
autoCompress bool
autoCompress is a bool that indicates if the server should compress the response.
getter/setter pair
defaultResponseHeaders HttpHeaders
defaultResponseHeaders is a type of HttpHeaders that contains the default response headers.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idleTimeout Duration?
idleTimeout is a Duration that indicates the idle timeout of the server.
getter/setter pair
port int
port is the port of the server.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverHeader String?
serverHeader is a String that contains the server header of the server.
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