/
Redis Connection

Redis Connection

Most components of SIC create a connection to Redis, so that they can send and receive messages/requests. This is done through the SICRedis class.

Authorization

SICRedis looks in environment for DB_IP and DB_PASS

DB_IP defaults to localhost and DB_PASS defaults to ‘changemeplease’

Messages and requests

A component can implement two callbacks, on_message() and on_request().

A request must be met with a reply

Related content