upload

abstract fun upload(): Observable<D2Progress>

Uploads the resources in scope in an asynchronous way. An Observable<D2Progress> is returned, which will emit progress until the whole upload is finished and the Observable is completed.

Return

the Observable<D2Progress> emitting the progress