Skip to content
instance method

OpenSSL::SSL::SSLContext#setup

() -> untyped
ctx.setup => Qtrue # first time
ctx.setup => nil # thereafter

This method is called automatically when a new SSLSocket is created. However, it is not thread-safe and must be called before creating SSLSocket objects in a multi-threaded program.