Skip to main content

OH_ArkWebHttpBodyStream_IsEof

Function OH_ArkWebHttpBodyStream_IsEof 

Source
pub unsafe extern "C" fn OH_ArkWebHttpBodyStream_IsEof(
    httpBodyStream: *const ArkWeb_HttpBodyStream,
) -> bool
Available on crate features api-11 and api-12 only.
Expand description

Returns true if all data has been consumed from this upload data stream.

For chunked uploads, returns false until the first read attempt.

§Arguments

  • httpBodyStream - The ArkWeb_HttpBodyStream.

§Returns

  • True if all data has been consumed; false otherwise.

Required System Capabilities: SystemCapability.Web.Webview.Core

Available since API-level: 12