onUpload

abstract fun onUpload(@NonNull upload: UploadOptions): UploadOptions

The function to intercept HTTP upload options with.

Return

The modified UploadOptions object.

Parameters

upload

The original UploadOptions object to be modified.