Skip to content

Instantly share code, notes, and snippets.

@chris-gong
Created February 9, 2022 23:46
Show Gist options
  • Select an option

  • Save chris-gong/b8f80c887324ea08eb1d7dd484985fa6 to your computer and use it in GitHub Desktop.

Select an option

Save chris-gong/b8f80c887324ea08eb1d7dd484985fa6 to your computer and use it in GitHub Desktop.
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "Http.h"
#include "HttpTestGameMode.generated.h"
UCLASS(minimalapi)
class AHttpTestGameMode : public AGameModeBase
{
GENERATED_BODY()
public:
AHttpTestGameMode();
virtual void StartPlay() override;
private:
void OnResponseReceived(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bConnectedSuccessfully);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment