Skip to content

Commit

Permalink
Update the staged modifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Jul 10, 2024
1 parent f3f6e51 commit cee940b
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions NanaGet/NanaGetCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,39 +597,11 @@ void NanaGet::Aria2Instance::UpdateInstance(
// return;
// }
//
// try
// NanaGet::JsonRpc2::NotificationMessage Response;
// if (NanaGet::JsonRpc2::ToNotificationMessage(Message, Response))
// {
//
// }
// catch (const std::exception&)
// {
//
// }
//
//
// /*nlohmann::json ResponseJson;
// try
// {
// ResponseJson = nlohmann::json::parse(ResponseString);
// }
// catch (std::exception const& ex)
// {
// throw winrt::hresult_illegal_method_call(winrt::to_hstring(ex.what()));
// }
//
// if ("2.0" != ResponseJson["jsonrpc"].get<std::string>() ||
// Identifier != ResponseJson["id"].get<std::string>())
// {
// throw winrt::hresult_illegal_method_call();
// }
//
// if (ResponseJson.end() != ResponseJson.find("error"))
// {
// throw winrt::hresult_illegal_method_call(
// winrt::to_hstring(ResponseJson["error"].get<std::string>()));
// }
//ResponseJson["result"].dump(2);*/
//
//
// ::OutputDebugStringW(Mile::FormatWideString(
// L"\r\n\r\n%s\r\n\r\n",
Expand Down

0 comments on commit cee940b

Please sign in to comment.