A connection implementation for RESP2 protocol.
Definitionsdef concurrency
Get the concurrency level for this connection.
SignatureInteger
The concurrency level (1 for RESP2).
def concurrency
1
end
def viable?
Check if the connection is viable for use.
SignatureBoolean
True if the stream is readable.
def viable?
@stream.readable?
end
def reusable?
Check if the connection can be reused.
SignatureBoolean
True if the stream is not closed.
def reusable?
!@stream.closed?
end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4