Home
last modified time | relevance | path

Searched refs:responseCallback (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dhttp_async_callback.cpp51 if (asyncCallback->responseCallback[CB_SUCCESS]) { in AsyncCallbackDeleter()
52 JSI::ReleaseValue(asyncCallback->responseCallback[CB_SUCCESS]); in AsyncCallbackDeleter()
54 if (asyncCallback->responseCallback[CB_FAIL]) { in AsyncCallbackDeleter()
55 JSI::ReleaseValue(asyncCallback->responseCallback[CB_FAIL]); in AsyncCallbackDeleter()
57 if (asyncCallback->responseCallback[CB_COMPLETE]) { in AsyncCallbackDeleter()
58 JSI::ReleaseValue(asyncCallback->responseCallback[CB_COMPLETE]); in AsyncCallbackDeleter()
102 JSIValue success = responseCallback[CB_SUCCESS]; in OnSuccess()
118 JSIValue fail = responseCallback[CB_FAIL]; in OnFail()
131 JSIValue complete = responseCallback[CB_COMPLETE]; in OnComplete()
H A Dfetch_module.cpp50 asyncCallback->responseCallback[CB_SUCCESS] = JSI::GetNamedProperty(args[0], CB_SUCCESS); in Fetch()
51 asyncCallback->responseCallback[CB_FAIL] = JSI::GetNamedProperty(args[0], CB_FAIL); in Fetch()
52 asyncCallback->responseCallback[CB_COMPLETE] = JSI::GetNamedProperty(args[0], CB_COMPLETE); in Fetch()
/foundation/communication/netstack/utils/http_over_curl/src/
H A Depoll_request_handler.cpp42 const TransferDoneCallback &responseCallback, void *opaqueData) in Process()
44 auto requestInfo = new RequestInfo{easyHandle, startedCallback, responseCallback, opaqueData}; in Process()
41 Process(CURL *easyHandle, const TransferStartedCallback &startedCallback, const TransferDoneCallback &responseCallback, void *opaqueData) Process() argument
/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client.cpp96 auto responseCallback = [ptr](CURLMsg *curlMessage, void *) { in StartTask() local
101 requestHandler.Process(ptr->GetCurlHandle(), startedCallback, responseCallback); in StartTask()
/foundation/communication/netstack/frameworks/js/builtin/fetch/include/
H A Dhttp_async_callback.h39 std::map<std::string, JSIValue> responseCallback; member in OHOS::ACELite::HttpAsyncCallback
/foundation/communication/netstack/utils/http_over_curl/include/
H A Depoll_request_handler.h39 const TransferDoneCallback &responseCallback, void *opaqueData = nullptr);
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp279 static auto responseCallback = +[](CURLMsg *curlMessage, void *opaqueData) { in AddCurlHandle() local
285 requestHandler.Process(handle, startedCallback, responseCallback, context); in AddCurlHandle()

Completed in 4 milliseconds