pub fn relay_frame<T>(
store: &mut T,
bytes: &[u8],
session_doc: Option<&str>,
) -> Result<RelayOutput, <T as PatchStore>::Error>where
T: PatchStore,Expand description
Serve one protocol frame from the store, like relayStoreMessage. Rows are
committed before the acknowledgement. A frame which cannot be decoded is an
Err; every other failure becomes an error frame for the peer.