You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Build Improvements, HTML5Win32 Build fix. Re-fix how HTTP headers were being sent on the wire.
WIP: TCP/HTTP Toggle is in flux and may get changed again depending on feedback, currently its driven from HTML5 Build Files.
#codereview peter.sauerbrei
[CL 2104759 by Ankit Khare in Main branch]
27 lines
467 B
C++
27 lines
467 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
#if ENABLE_HTTP_FOR_NFS
|
|
#include "ITransport.h"
|
|
#include "Http.h"
|
|
|
|
class FHTTPTransport : public ITransport
|
|
{
|
|
|
|
public:
|
|
|
|
FHTTPTransport();
|
|
|
|
// ITransport Interface.
|
|
virtual bool Initialize(const TCHAR* HostIp);
|
|
virtual bool SendPayloadAndReceiveResponse(TArray<uint8>& In, TArray<uint8>& Out);
|
|
|
|
private:
|
|
|
|
#if !PLATFORM_HTML5
|
|
FHttpRequestPtr HttpRequest;
|
|
#endif
|
|
|
|
FGuid Guid;
|
|
|
|
};
|
|
#endif |