vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Variable HTTPServerSettings.port

The port on which the HTTP server is listening.

class HTTPServerSettings
  // ...
  ushort port = cast(ushort)80u;
  // ...

The default value is 80. If you are running a TLS enabled server you may want to set this to 443 instead.


Sönke Ludwig, Jan Krüger, Ilya Shipunov


© 2012-2013 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.