vibe.d beta banner
get vibe.d
0.7.30

Function createTLSContext

Creates a new context of the given kind.

Prototype

TLSContext createTLSContext(
  TLSContextKind kind,
  TLSVersion ver = cast(TLSVersion)0
);

Parameters

NameDescription
kind Specifies if the context is going to be used on the client or on the server end of the TLS tunnel
ver The TLS protocol used for negotiating the tunnel
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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