@@ -1048,7 +1048,7 @@ IAsyncAction setTimeout(std::chrono::seconds time) {
1048
1048
co_await time ;
1049
1049
}
1050
1050
1051
- winrt::fire_and_forget RNFetchBlob ::fetchBlob (
1051
+ winrt::fire_and_forget ReactNativeBlobUtilState ::fetchBlob (
1052
1052
winrt::Microsoft::ReactNative::JSValueObject options,
1053
1053
std::string taskId,
1054
1054
std::string method,
@@ -1064,7 +1064,7 @@ winrt::fire_and_forget RNFetchBlob::fetchBlob(
1064
1064
{
1065
1065
filter.IgnorableServerCertificateErrors ().Append (Cryptography::Certificates::ChainValidationResult::Untrusted);
1066
1066
}
1067
- RNFetchBlobState eventState;
1067
+ ReactNativeBlobUtilState eventState;
1068
1068
1069
1069
winrt::Windows::Web::Http::HttpClient httpClient{ filter };
1070
1070
@@ -1217,7 +1217,7 @@ winrt::fire_and_forget RNFetchBlob::fetchBlob(
1217
1217
callback (error, " error" , " " );
1218
1218
}
1219
1219
else {
1220
- callback (" RNFetchBlob request timed out" , " error" , " " );
1220
+ callback (" React-native-blobl-util request timed out" , " error" , " " );
1221
1221
}
1222
1222
}
1223
1223
@@ -1539,7 +1539,7 @@ try
1539
1539
1540
1540
winrt::Windows::Web::Http::HttpResponseMessage response{ co_await httpClient.SendRequestAsync (httpRequestMessage, winrt::Windows::Web::Http::HttpCompletionOption::ResponseHeadersRead) };
1541
1541
1542
- RNFetchBlobState eventState;
1542
+ ReactNativeBlobUtilState eventState;
1543
1543
1544
1544
auto status{ static_cast <int >(response.StatusCode ()) };
1545
1545
if (config.followRedirect ) {
@@ -1564,7 +1564,7 @@ try
1564
1564
1565
1565
eventState.state = winrt::to_string (response.ReasonPhrase ());
1566
1566
1567
- m_reactContext.CallJSFunction (L" RCTDeviceEventEmitter" , L" emit" , L" RNFetchBlobState " ,
1567
+ m_reactContext.CallJSFunction (L" RCTDeviceEventEmitter" , L" emit" , L" ReactNativeBlobUtilState " ,
1568
1568
Microsoft::ReactNative::JSValueObject{
1569
1569
{ " taskId" , taskId },
1570
1570
{ " state" , eventState.state },
0 commit comments