vibe.d beta banner
get vibe.d
0.7.31

Function HTTPClient.setTLSSetupCallback

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

static void setTLSSetupCallback (
  void function(TLSContext) func
);

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 RejectedSoftware e.K.

License

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