mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-06 12:06:10 +00:00
update cpp-ue4 samples (#10194)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "CoreMinimal.h"
|
||||
#include "OpenAPIBaseModel.h"
|
||||
|
||||
namespace OpenAPI
|
||||
namespace OpenAPI
|
||||
{
|
||||
|
||||
class OPENAPI_API OpenAPIUserApi
|
||||
@@ -24,16 +24,16 @@ public:
|
||||
OpenAPIUserApi();
|
||||
~OpenAPIUserApi();
|
||||
|
||||
/* Sets the URL Endpoint.
|
||||
/* Sets the URL Endpoint.
|
||||
* Note: several fallback endpoints can be configured in request retry policies, see Request::SetShouldRetry */
|
||||
void SetURL(const FString& Url);
|
||||
|
||||
/* Adds global header params to all requests */
|
||||
void AddHeaderParam(const FString& Key, const FString& Value);
|
||||
void ClearHeaderParams();
|
||||
|
||||
|
||||
/* Sets the retry manager to the user-defined retry manager. User must manage the lifetime of the retry manager.
|
||||
* If no retry manager is specified and a request needs retries, a default retry manager will be used.
|
||||
* If no retry manager is specified and a request needs retries, a default retry manager will be used.
|
||||
* See also: Request::SetShouldRetry */
|
||||
void SetHttpRetryManager(FHttpRetrySystem::FManager& RetryManager);
|
||||
FHttpRetrySystem::FManager& GetHttpRetryManager();
|
||||
@@ -92,5 +92,5 @@ private:
|
||||
mutable FHttpRetrySystem::FManager* RetryManager = nullptr;
|
||||
mutable TUniquePtr<HttpRetryManager> DefaultRetryManager;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user