Contains implementation of some common functions that don't vary between implementation 更多...
#include <GenericPlatformBackgroundHttpRequest.h>
类 FGenericPlatformBackgroundHttpRequest 继承关系图:Public 成员函数 | |
| virtual void | CancelRequest () override |
| Called to cancel a request that is still being processed | |
| virtual void | CompleteWithExistingResponseData (FBackgroundHttpResponsePtr BackgroundResponse) override |
| Function used to complete an IHttpBackgroundRequest from an external source, passing it in a pre-existing response data. 更多... | |
| virtual bool | HandleDelayedProcess () override |
| Called by certain platform's implementation when we have to wait for the BackgroundHttpManager / PlatformBackgroundHttp to do some work before we can finish our ProcessRequest call. 更多... | |
Public 成员函数 继承自 FBackgroundHttpRequestImpl | |
| virtual void | CancelRequest () override |
| Called to cancel a request that is still being processed | |
| virtual void | CompleteWithExistingResponseData (FBackgroundHttpResponsePtr BackgroundResponse) override |
| Function used to complete an IHttpBackgroundRequest from an external source, passing it in a pre-existing response data. 更多... | |
| virtual const FString & | GetRequestID () const override |
| Gets the associated RequestID for this BackgroundDownload. 更多... | |
| virtual EBackgroundHTTPPriority | GetRequestPriority () const override |
| Gets the associated Requeset's Priority for Background Downloadings. 更多... | |
| virtual const FBackgroundHttpResponsePtr | GetResponse () const override |
| Get the associated Response 更多... | |
| virtual const TArray< FString > & | GetURLList () const override |
| Gets the current URL List that this background request is currently processing. 更多... | |
| virtual bool | HandleDelayedProcess () override |
| Called by certain platform's implementation when we have to wait for the BackgroundHttpManager / PlatformBackgroundHttp to do some work before we can finish our ProcessRequest call. 更多... | |
| virtual FBackgroundHttpRequestCompleteDelegate & | OnProcessRequestComplete () override |
| Delegate called when the request is complete. 更多... | |
| virtual FBackgroundHttpProgressUpdateDelegate & | OnProgressUpdated () override |
| Delegate called when the request has a progress update. | |
| virtual void | PauseRequest () override |
| Called to pause a request that is still being processed | |
| virtual bool | ProcessRequest () override |
| Called to begin processing the request. 更多... | |
| virtual void | ResumeRequest () override |
| Called to resume a request that was previously paused | |
| virtual void | SetCompleteNotification (FBackgroundHttpNotificationObjectPtr DownloadCompleteNotificationObjectIn) override |
| Sets an FHTTPRequestDownloadNotificationObject to be mapped to this HTTPRequest. 更多... | |
| virtual void | SetRequestID (const FString &NewRequestID) override |
| Sets the associated RequestID for this BackgroundDownload. 更多... | |
| virtual void | SetRequestPriority (EBackgroundHTTPPriority NewPriority) override |
| Sets the associated Requeset's Priority for Background Downloadings. 更多... | |
| virtual void | SetURLAsList (const TArray< FString > &URLs, int NumRetriesToAttempt) override |
| Sets up a list of URLs to automatically fall through as each one fails. 更多... | |
Public 成员函数 继承自 IBackgroundHttpRequest | |
| virtual void | CancelRequest ()=0 |
| Called to cancel a request that is still being processed | |
| virtual void | CompleteWithExistingResponseData (FBackgroundHttpResponsePtr BackgroundResponse)=0 |
| Function used to complete an IHttpBackgroundRequest from an external source, passing it in a pre-existing response data. 更多... | |
| virtual const FString & | GetRequestID () const =0 |
| Gets the associated RequestID for this BackgroundDownload. 更多... | |
| virtual EBackgroundHTTPPriority | GetRequestPriority () const =0 |
| Gets the associated Requeset's Priority for Background Downloadings. 更多... | |
| virtual const FBackgroundHttpResponsePtr | GetResponse () const =0 |
| Get the associated Response 更多... | |
| virtual const TArray< FString > & | GetURLList () const =0 |
| Gets the current URL List that this background request is currently processing. 更多... | |
| virtual bool | HandleDelayedProcess ()=0 |
| Called by certain platform's implementation when we have to wait for the BackgroundHttpManager / PlatformBackgroundHttp to do some work before we can finish our ProcessRequest call. 更多... | |
| virtual FBackgroundHttpRequestCompleteDelegate & | OnProcessRequestComplete ()=0 |
| Delegate called when the request is complete. 更多... | |
| virtual FBackgroundHttpProgressUpdateDelegate & | OnProgressUpdated ()=0 |
| Delegate called when the request has a progress update. | |
| virtual void | PauseRequest ()=0 |
| Called to pause a request that is still being processed | |
| virtual bool | ProcessRequest ()=0 |
| Called to begin processing the request. 更多... | |
| virtual void | ResumeRequest ()=0 |
| Called to resume a request that was previously paused | |
| virtual void | SetCompleteNotification (FBackgroundHttpNotificationObjectPtr DownloadCompleteNotificationObject)=0 |
| Sets an FHTTPRequestDownloadNotificationObject to be mapped to this HTTPRequest. 更多... | |
| virtual void | SetRequestID (const FString &NewRequestID)=0 |
| Sets the associated RequestID for this BackgroundDownload. 更多... | |
| virtual void | SetRequestPriority (EBackgroundHTTPPriority NewPriority)=0 |
| Sets the associated Requeset's Priority for Background Downloadings. 更多... | |
| virtual void | SetURLAsList (const TArray< FString > &URLs, int NumRetriesToAttempt)=0 |
| Sets up a list of URLs to automatically fall through as each one fails. 更多... | |
| virtual | ~IBackgroundHttpRequest ()=default |
| Destructor for overrides | |
Public 成员函数 继承自 TSharedFromThis< IBackgroundHttpRequest, ESPMode::ThreadSafe > | |
| TSharedRef< IBackgroundHttpRequest, Mode > | AsShared () |
| Provides access to a shared reference to this object. 更多... | |
| TSharedRef< IBackgroundHttpRequest const, Mode > | AsShared () const |
| Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多... | |
| FORCEINLINE bool | DoesSharedInstanceExist () const |
| Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
| FORCEINLINE void | UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const |
| INTERNAL USE ONLY – Do not call this method. 更多... | |
额外继承的成员函数 | |
Protected 成员函数 继承自 TSharedFromThis< IBackgroundHttpRequest, ESPMode::ThreadSafe > | |
| FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
| Hidden stub assignment operator | |
| TSharedFromThis () | |
| Hidden stub constructor | |
| TSharedFromThis (TSharedFromThis const &) | |
| Hidden stub copy constructor | |
| ~TSharedFromThis () | |
| Hidden destructor | |
静态 Protected 成员函数 继承自 TSharedFromThis< IBackgroundHttpRequest, ESPMode::ThreadSafe > | |
| static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
| static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| Provides access to a shared reference to an object, given the object's 'this' pointer. 更多... | |
Contains implementation of some common functions that don't vary between implementation
|
overridevirtual |
Function used to complete an IHttpBackgroundRequest from an external source, passing it in a pre-existing response data.
| BackgroundReponse,A | SharedRef to the already existing IHttpBackgroundResponse we want to base this tasks' Response off of. |
|
overridevirtual |
Called by certain platform's implementation when we have to wait for the BackgroundHttpManager / PlatformBackgroundHttp to do some work before we can finish our ProcessRequest call.
Should only be called by different platform layers.
NOTE: Should really only be called by the BackgroundHttpManager! You are probably looking for ProcessRequest.