resp_server library

Classes

RespServerConnection
A connection to a RESP server. It has to provide an outputSink and an inputStream. The outputSink is used by RespClient to write requests to the server. The inputStream is used by RespClient to read responses from the server.

Functions

connectSocket(String host, {int port = 6379, Duration? timeout}) Future<RespServerConnection>
Creates a server connection using a socket.