class Connection
Definitions
def viable?
Can we use this connection to make requests?
Implementation
def viable?
self.idle? && @stream&.readable?
end
class Connection
def viable?
Can we use this connection to make requests?
def viable?
self.idle? && @stream&.readable?
end