port property
int?
port
Server's port
@return the port number where the server is listening @api public
Implementation
int? get port {
if (httpServer == null || httpServer!.channels.isEmpty) {
return null;
}
return httpServer!.channels[0].port;
}