Skip to main content

fetch

Function fetch 

Source
pub async fn fetch(
    http: &Client,
    plc_directory: &str,
    uri: &AtUri,
) -> Result<(Publication, Vec<Entry>)>
Expand description

Read a publication and its documents through the hardened anonymous client.

Deliberately thin. Everything that makes this fetch safe already exists in crate::atproto and is reused rather than rebuilt:

The first draft of this module reimplemented all of that, worse. The only logic left here is the part that is genuinely about standard.site.