uploadFile abstract method

BehaviorSubject<M> uploadFile(
  1. K uploadFileParams
)

Returns a BehaviorSubject that emit UploadFileStatus as the upload progresses using socket.io.

Should fallback to uploadViaHTTP in case the socket.io method fails.

Implementation

BehaviorSubject<M> uploadFile(K uploadFileParams);