Expand description
Federation transport: an Op and target server in, raw response bytes
out.
The Transport seam isolates the network behind a trait the tests mock;
FederationTransport is the production impl.
Structsยง
- Federation
Transport ๐
Traitsยง
- Transport ๐
- Injection seam between the fetcher and the network. The production impl
routes through
federation::execute; tests substitute a scripted mock.
Functionsยง
- batch_
limit ๐ - Event count requested per batch op, defaulting to the federation default of
10 and saturating an oversized cap to the wire
UInt. - require_
event_ ๐id - require_
latest_ ๐events - require_
room_ ๐id - require_
ts ๐ - to_
bytes ๐