#pragma once #include "fwd.h" #include #include #include namespace NYT::NDetail { //////////////////////////////////////////////////////////////////////////////// struct TResponseInfo { TString RequestId; TString Response; int HttpCode = 0; }; //////////////////////////////////////////////////////////////////////////////// struct TRequestConfig { NHttpClient::THttpConfig HttpConfig; bool IsHeavy = false; }; //////////////////////////////////////////////////////////////////////////////// NHttpClient::IHttpResponsePtr RequestWithoutRetry( const TClientContext& context, TMutationId& mutationId, THttpHeader& header, TMaybe body = {}, const TRequestConfig& config = {}); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NDetail