Skip to main content

OH_ArkWebHttpBodyStream_Init

Function OH_ArkWebHttpBodyStream_Init 

Source
pub unsafe extern "C" fn OH_ArkWebHttpBodyStream_Init(
    httpBodyStream: *mut ArkWeb_HttpBodyStream,
    initCallback: ArkWeb_HttpBodyStreamInitCallback,
) -> i32
Expand description

@brief Init the http body stream.

This function must be called before calling any other functions.\n

@param httpBodyStream The ArkWeb_HttpBodyStream. @param initCallback The callback of init. @return {@link ARKWEB_NET_OK} 0 - Success. {@link ARKWEB_INVALID_PARAM} 17100101 - Invalid param.

@syscap SystemCapability.Web.Webview.Core @since 12