vibe.d beta banner
get vibe.d
0.10.1

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

Function createTLSContext

Creates a new context of the given kind.

TLSContext createTLSContext (
  TLSContextKind kind,
  TLSVersion ver = TLSVersion.any
) @trusted;

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 Sönke Ludwig

License

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