Method: Puma::MiniSSL::Server#initialize

Defined in:
lib/puma/minissl.rb

#initialize(socket, ctx) ⇒ Server

Returns a new instance of Server.



418
419
420
421
422
# File 'lib/puma/minissl.rb', line 418

def initialize(socket, ctx)
  @socket = socket
  @ctx = ctx
  @eng_ctx = IS_JRUBY ? @ctx : SSLContext.new(ctx)
end