FHttpRequestImpl

Contains implementation of some common functions that don't vary between implementation

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

HTTP

Header

/Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/HttpRequestImpl.h

Include

#include "GenericPlatform/HttpRequestImpl.h"

Syntax

class FHttpRequestImpl : public IHttpRequest

Remarks

Contains implementation of some common functions that don't vary between implementation

Variables

Name Description

Protected variable

FHttpRequestHea...

 

HeaderReceivedDelegate

Delegate that will get called for each new header received

Protected variable

FHttpRequestWil...

 

OnRequestWillRetryDelegate

Delegate that will get called when request will be retried

Protected variable

FHttpRequestCom...

 

RequestCompleteDelegate

Delegate that will get called once request completes or on any error

Protected variable

FHttpRequestPro...

 

RequestProgressDelegate

Delegate that will get called once per tick with bytes downloaded so far

Protected variable

TOptional< floa...

 

TimeoutSecs

Timeout in seconds for the entire HTTP request to complete

Functions

Name Description

Protected function

void

 

BroadcastResponseHeadersReceived()

Broadcast all of our response's headers as having been received Used when we don't know when we receive headers in our HTTP implementation

Public function Const

float

 

GetTimeoutOrDefault()

Overridden from IHttpRequest

Name Description

Public function Virtual

void

 

ClearTimeout()

Clears the optional timeout in seconds for this HTTP request, causing the default value from FHttpModule::GetTimeout() to be used.

Public function Virtual Const

TOptional< f...

 

GetTimeout()

Gets the optional timeout in seconds for this entire HTTP request to complete.

Public function Virtual

FHttpRequest...

 

OnHeaderReceived()

Delegate called to signal the receipt of a header. See FHttpRequestHeaderReceivedDelegate

Public function Virtual

FHttpRequest...

 

OnProcessRequestComplete()

IHttpRequest.

Public function Virtual

FHttpRequest...

 

OnRequestProgress()

Delegate called to update the request/response progress. See FHttpRequestProgressDelegate

Public function Virtual

FHttpRequest...

 

OnRequestWillRetry()

Delegate called when the request will be retried

Public function Virtual

void

 

SetTimeout

(
    float InTimeoutSecs
)

Sets an optional timeout in seconds for this entire HTTP request to complete.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss