Skip to main content

start_upload

Function start_upload 

Source
pub fn start_upload(
    context: &mut ComponentContext,
    config: &LivewireConfig,
    call: &Call,
) -> Result<Option<Value>, LivewireError>
Expand description

Handles _startUpload, which answers with the URL the browser posts to.

ยงErrors

Fails when the application key is unavailable.