Skip to main content

encode_replconf_ack

Function encode_replconf_ack 

Source
pub fn encode_replconf_ack(offset: u64) -> Vec<u8> 
Expand description

Encode the replica→primary acknowledgment line (v3.14): REPLCONF ACK <offset>\r\n — inline RESP, written back on the SAME replication connection (the pump drains it non-blocking).