Skip to main content

upload_auth

Function upload_auth 

Source
pub fn upload_auth(name: &str, hash: &str, now: Timestamp) -> EventBuilder
Expand description

The authorization (BUD-11) to send the file called name, whose hash is hash, to media servers, from now for AUTH_SECONDS: for the account to sign.