Navigation
API > API/Plugins > API/Plugins/ElectraHTTPStream
HTTP request instance created by IElectraHTTPStream::CreateRequest()
| Name | IElectraHTTPStreamRequest |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraHTTPStream/Public/ElectraHTTPStream.h |
| Include Path | #include "ElectraHTTPStream.h" |
Syntax
class IElectraHTTPStreamRequest
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IElectraHTTPStreamRequest() |
ElectraHTTPStream.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Adds a request header. | ElectraHTTPStream.h | ||
void AllowCompression
(
bool bAllowCompression |
Allows for GET requests to return a compressed response using one of the platform supported algorithms. | ElectraHTTPStream.h | |
void AllowUnsafeRequestsForDebugging() |
Call this to allow unsafe connections for debugging purposes. Not enabled in shipping builds. | ElectraHTTPStream.h | |
void Cancel() |
Cancels the request and unbinds your notification delegate. | ElectraHTTPStream.h | |
void EnableTimingTraces() |
Enables collection of timing traces. (disabled by default) | ElectraHTTPStream.h | |
FString GetErrorMessage() |
Returns the reason the request has failed. | ElectraHTTPStream.h | |
IElectraHTTPStreamResponsePtr GetResponse() |
Returns the response object which is created with this request immediately and always accessible. | ElectraHTTPStream.h | |
bool HasFailed () |
Returns whether the request has failed. | ElectraHTTPStream.h | |
FElectraHTTPStreamNotificationDelegate & NotificationDelegate () |
Returns the notification delegate to which you bind a progress callback. | ElectraHTTPStream.h | |
| Returns the buffer holding the data to be POSTed to the server. | ElectraHTTPStream.h | ||
void SetRange
(
const FString& Range |
Sets a range for a GET request. Must be a valid range string. | ElectraHTTPStream.h | |
void SetURL
(
const FString& URL |
Sets the URL to issue the request to. Must not contain an URL fragment and must be appropriately escaped. | ElectraHTTPStream.h | |
void SetUserAgent
(
const FString& UserAgent |
Sets a user agent for this request. If not specified an application specific default is used. | ElectraHTTPStream.h | |
void SetVerb
(
const FString& Verb |
Set verb, GET, HEAD or POST. If not set GET is used by default. | ElectraHTTPStream.h |