Crate rdsys_backend

Source
Expand description

§Rdsys Backend Distributor API

rdsys_backend is an implementation of the rdsys backend API https://gitlab.torproject.org/tpo/anti-censorship/rdsys/-/blob/main/doc/backend-api.md

Modules§

proto

Structs§

ResourceStream
An iterable wrapper of ResourceDiff items for the streamed chunks of Bytes received from the connection to the rdsys backend

Enums§

Error

Functions§

request_resources
start_stream
Makes an http connection to the rdsys backend api endpoint and returns a ResourceStream if successful