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