Server constructor

const Server({
  1. String? name,
  2. String? defaultEndpoint,
  3. String? bind,
  4. Port? port,
  5. List<String>? hosts,
  6. ServerTLSSettings? tls,
})

The main constructor.

Implementation

const Server({
  this.name,
  this.defaultEndpoint,
  this.bind,
  this.port,
  this.hosts,
  this.tls,
});