class Puma::MiniSSL::Server
def accept
def accept @ctx.check io = @socket.accept engine = Engine.server @eng_ctx Socket.new io, engine end
def accept_nonblock
def accept_nonblock @ctx.check io = @socket.accept_nonblock engine = Engine.server @eng_ctx Socket.new io, engine end
def addr
- Version: - 5.0.0
def addr @socket.addr end
def close
def close @socket.close unless @socket.closed? # closed? call is for Windows end
def closed?
def closed? @socket.closed? end
def initialize(socket, ctx)
def initialize(socket, ctx) @socket = socket @ctx = ctx @eng_ctx = IS_JRUBY ? @ctx : SSLContext.new(ctx) end
def to_io
def to_io @socket end