Expand description
Durable transaction-response deduplication.
Opaque response bytes are keyed by user, optional device, and transaction identifier. Room operations add a domain tag, the room, and a scope (the event type of a send, the target of a redaction) so independent scopes cannot replay one anotherβs responses.
Re-exportsΒ§
use std::sync::Arc;πuse ruma::DeviceId;πuse ruma::EventId;πuse ruma::RoomId;πuse ruma::TransactionId;πuse ruma::UserId;πuse tuwunel_core::Result;πuse tuwunel_core::implement;πuse tuwunel_database::Handle;πuse tuwunel_database::Map;πuse tuwunel_database::Txn;π
StructsΒ§
- Data π
- RoomTxn
- A client transaction against one room.
- Service
- Persistent transaction-response lookup service.
EnumsΒ§
- Room
Scope - What a room transaction acts on within its room.
ConstantsΒ§
- ROOM_
DELAYED_ πTAG - ROOM_
REDACT_ πTAG - ROOM_
SEND_ πTAG
FunctionsΒ§
- room_
txnid_ πkey - txnid_
key π