vibe.d beta banner
get vibe.d
0.10.0

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

Function HTTPServerContext.tlsContext

Returns the TLS context associated with the listener.

TLSContext tlsContext() @property @safe;

For non-HTTPS listeners, null will be returned. Otherwise, if only a single virtual host has been added, the TLS context of that host's settings is returned. For multiple virtual hosts, an SNI context is returned, which forwards to the individual contexts based on the requested host name.

Authors

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

Copyright

© 2012-2017 RejectedSoftware e.K.

License

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