class Proxy::RemoteExecution::Cockpit::MiniSSLBufferedSocket
Public Class Methods
applies_for?(socket)
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/cockpit.rb, line 93 def self.applies_for?(socket) socket.is_a? ::Puma::MiniSSL::Socket end
Public Instance Methods
closed?()
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/cockpit.rb, line 106 def closed? @socket.to_io.closed? end
recv(count)
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/cockpit.rb, line 98 def recv(count) @socket.read_nonblock(count) end
send(mesg, flags)
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/cockpit.rb, line 102 def send(mesg, flags) @socket.write_nonblock(mesg) end