uploadStream

open override fun uploadStream(entity: EntityValue, link: StreamLink, content: StreamBase, headers: HttpHeaders, options: RequestOptions)

Upload content for a stream property to the target system. Caution: Having too many threads simultaneously uploading streams may result in out-of-memory conditions on memory-constrained devices.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.Property#getStreamLink(com.sap.cloud.mobile.kotlin.odata.StructureBase) Property.getStreamLink}.

Parameters

entity

Entity containing the stream property whose content is to be uploaded.

link

Stream link for the stream to be uploaded.

content

Upload stream content. Will be closed before this function returns.

headers

Request-specific headers.

options

Request-specific options.