Unreal OpenAI API
1.0.0
Source
OpenAI
Public
Http
HttpHelper.h
1
// OpenAI, Copyright LifeEXE. All Rights Reserved.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
7
class
OPENAI_API
HttpHelper
8
{
9
public
:
10
static
FString MIMETypeFromExt(
const
FString& Ext);
11
static
TArray<uint8> AddMIMEFile(
const
FString& FilePath,
const
FString& ParamName,
const
FString& BeginBoundary);
12
static
TArray<uint8> AddMIME(
const
FString& ParamName,
const
FString& ParamValue,
const
FString& BeginBoundary);
13
static
TTuple<FString, FString, FString> MakeBoundary(int64 Ticks = FDateTime::Now().GetTicks());
14
};
HttpHelper
Definition:
HttpHelper.h:8