Skip to main content

start_resp_server

Function start_resp_server 

Source
pub fn start_resp_server(cache: Arc<CachePlugin>, port: u16)
Expand description

Start a RESP-compatible server (Redis protocol) on the given port.

This blocks the calling thread. Each client connection is handled in its own thread with a synchronous read loop.