Skip to main content

fetch_blocking

Function fetch_blocking 

Source
pub fn fetch_blocking(url: &str) -> Result<String, String>
Expand description

Fetches the raw text at url on a throwaway runtime, with errors in the form an ExternalFetcher returns them. This is what add-on packages call to serve a request. url is a config source or a secret reference without its #field (aws-sm:prod/slack).