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 94 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 107 def closed? @socket.to_io.closed? end
recv(count)
click to toggle source
# File lib/smart_proxy_remote_execution_ssh/cockpit.rb, line 99 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 103 def send(mesg, flags) @socket.write_nonblock(mesg) end