mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 00:41:01 +00:00
scheme handler网络拦截新增OH_ArkWebResourceRequest_GetFrameUrl接口
Signed-off-by: xiyupeng <xiyupeng@huawei.com>
This commit is contained in:
parent
7ff3bde14e
commit
d4d7266711
@ -503,6 +503,17 @@ void OH_ArkWebResourceRequest_DestroyHttpBodyStream(ArkWeb_HttpBodyStream* httpB
|
||||
*/
|
||||
int32_t OH_ArkWebResourceRequest_GetResourceType(const ArkWeb_ResourceRequest* resourceRequest);
|
||||
|
||||
/*
|
||||
* @brief Get the url of frame which trigger this request.
|
||||
* @param resourceRequest The ArkWeb_ResourceRequest.
|
||||
* @param frameUrl The url of frame which trigger this request. This function will allocate memory for the url string
|
||||
* and caller must release the string by OH_ArkWeb_ReleaseString.
|
||||
*
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @since 12
|
||||
*/
|
||||
void OH_ArkWebResourceRequest_GetFrameUrl(const ArkWeb_ResourceRequest* resourceRequest, char** frameUrl);
|
||||
|
||||
/*
|
||||
* @brief Set a user data to ArkWeb_HttpBodyStream.
|
||||
* @param httpBodyStream The ArkWeb_HttpBodyStream.
|
||||
|
@ -95,6 +95,10 @@
|
||||
"first_introduced": "12",
|
||||
"name": "OH_ArkWebResourceRequest_GetResourceType"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_ArkWebResourceRequest_GetFrameUrl"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_ArkWebHttpBodyStream_SetReadCallback"
|
||||
|
Loading…
Reference in New Issue
Block a user