FRequest

Class [FRequest](API\Runtime\HTTP\FRequest) is what the retry system accepts as inputs

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class FRequest : public FHttpRequestAdapterBase

Remarks

Class FRequest is what the retry system accepts as inputs

Variables

Name Description

Protected variable

FHttpRequestWil...

 

OnRequestWillRetryDelegate

Protected variable

FString

 

OriginalUrl

The original URL before replacing anything from RetryDomains

Protected variable

FRetryDomainsPt...

 

RetryDomains

Protected variable

int32

 

RetryDomainsIndex

The current index in RetryDomains we are attempting

Protected variable

FRetryLimitCoun...

 

RetryLimitCountOverride

Protected variable

FManager &

 

RetryManager

Protected variable

FRetryResponseC...

 

RetryResponseCodes

Protected variable

FRetryTimeoutRe...

 

RetryTimeoutRelativeSecondsOverride

Protected variable

FRetryVerbs

 

RetryVerbs

Protected variable

EStatus::Type

 

Status

Constructors

Name Description

Protected function

FRequest

(
    FManager& InManager,
    const TSharedRef< IHttpRequest >& ...,
    const FRetryLimitCountSetting& InR...,
    const FRetryTimeoutRelativeSecondsS...,
    const FRetryResponseCodes& InRetry...,
    const FRetryVerbs& InRetryVerbs,
    const FRetryDomainsPtr& InRetryDom...
)

Functions

Name Description

Public function Const

EStatus::Typ...

 

GetRetryStatus()

FRequest.

Protected function

void

 

HttpOnRequestProgress

(
    FHttpRequestPtr InHttpRequest,
    int32 BytesSent,
    int32 BytesRcv
)

Protected function

void

 

MoveToNextRetryDomain()

Move to the next retry domain from our RetryDomains

Public function Virtual

FHttpRequest...

 

OnRequestWillRetry()

Protected function

void

 

SetUrlFromRetryDomains()

Update our HTTP request's URL's domain from our RetryDomains

Overridden from IHttpRequest

Name Description

Public function Virtual

void

 

CancelRequest()

Called to cancel a request that is still being processed

Public function Virtual

bool

 

ProcessRequest()

Called to begin processing the request.

Classes

Name

Description

Public struct

EStatus

References

Module

HTTP

Header

Runtime/Online/HTTP/Public/HttpRetrySystem.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback