method

set_params

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: SSLContext
set_params(params={}) public

Sets saner defaults optimized for the use with HTTP-like protocols.

If a Hash params is given, the parameters are overridden with it. The keys in params must be assignment methods on SSLContext.

If the verify_mode is not VERIFY_NONE and ca_file, ca_path and cert_store are not set then the system default certificate store is used.

Show source
Register or log in to add new notes.