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 ๐ - Production transport backed by the federation request service.
Traitsยง
- Transport ๐
- Abstracts the network operation for one federation fetch attempt.
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 ๐