vibe.d beta banner
get vibe.d
0.10.1

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

Function HTTPClient.setTLSSetupCallback

Sets a callback that will be called for every TLS context that is created.

static void setTLSSetupCallback (
  @safe void function(TLSContext) func
) @trusted;

Setting such a callback is useful for adjusting the validation parameters of the TLS context.

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 Sönke Ludwig

License

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