|
| virtual void | AppendToHeader (const FString &HeaderName, const FString &AdditionalHeaderValue) override |
| | Appends to the value already set in the header. 更多...
|
| |
|
virtual void | ClearTimeout () override |
| | Clears the optional timeout in seconds for this HTTP request, causing the default value from FHttpModule::GetTimeout() to be used.
|
| |
| virtual TArray< FString > | GetAllHeaders () const override |
| | Return all headers in an array in "Name: Value" format. 更多...
|
| |
| virtual const TArray< uint8 > & | GetContent () const override |
| | Get the content payload of the request or response. 更多...
|
| |
| virtual int32 | GetContentLength () const override |
| | Shortcut to get the Content-Length header value. 更多...
|
| |
| virtual FString | GetContentType () const override |
| | Shortcut to get the Content-Type header value (if available) 更多...
|
| |
| virtual float | GetElapsedTime () const override |
| | Gets the time that it took for the server to fully respond to the request. 更多...
|
| |
| virtual FString | GetHeader (const FString &HeaderName) const override |
| | Gets the value of a header, or empty string if not found. 更多...
|
| |
| virtual const FHttpResponsePtr | GetResponse () const override |
| | Get the associated Response 更多...
|
| |
| virtual EHttpRequestStatus::Type | GetStatus () const override |
| | Get the current status of the request being processed 更多...
|
| |
| virtual TOptional< float > | GetTimeout () const override |
| | Gets the optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual FString | GetURL () const override |
| | Get the URL used to send the request. 更多...
|
| |
| virtual FString | GetURLParameter (const FString &ParameterName) const override |
| | Gets an URL parameter. 更多...
|
| |
| virtual FString | GetVerb () const override |
| | Gets the verb (GET, PUT, POST) used by the request. 更多...
|
| |
| virtual void | SetContent (const TArray< uint8 > &ContentPayload) override |
| | Sets the content of the request (optional data). 更多...
|
| |
| virtual void | SetContent (TArray< uint8 > &&ContentPayload) override |
| | Sets the content of the request (optional data). 更多...
|
| |
| virtual bool | SetContentAsStreamedFile (const FString &Filename) override |
| | Sets the content of the request to stream from a file. 更多...
|
| |
| virtual void | SetContentAsString (const FString &ContentString) override |
| | Sets the content of the request as a string encoded as UTF8. 更多...
|
| |
| virtual bool | SetContentFromStream (TSharedRef< FArchive, ESPMode::ThreadSafe > Stream) override |
| | Sets the content of the request to stream directly from an archive. 更多...
|
| |
| virtual void | SetHeader (const FString &HeaderName, const FString &HeaderValue) override |
| | Sets optional header info. 更多...
|
| |
| virtual void | SetTimeout (float InTimeoutSecs) override |
| | Sets an optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual void | SetURL (const FString &URL) override |
| | Sets the URL for the request Eg. 更多...
|
| |
| virtual void | SetVerb (const FString &Verb) override |
| | Sets the verb used by the request. 更多...
|
| |
| virtual void | Tick (float DeltaSeconds) override |
| | Used to tick the request 更多...
|
| |
|
virtual void | ClearTimeout () override |
| | Clears the optional timeout in seconds for this HTTP request, causing the default value from FHttpModule::GetTimeout() to be used.
|
| |
| virtual TOptional< float > | GetTimeout () const override |
| | Gets the optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual FHttpRequestHeaderReceivedDelegate & | OnHeaderReceived () override |
| | Delegate called to signal the receipt of a header. 更多...
|
| |
| virtual FHttpRequestCompleteDelegate & | OnProcessRequestComplete () override |
| | Delegate called when the request is complete. 更多...
|
| |
| virtual FHttpRequestProgressDelegate & | OnRequestProgress () override |
| | Delegate called to update the request/response progress. 更多...
|
| |
|
virtual FHttpRequestWillRetryDelegate & | OnRequestWillRetry () override |
| | Delegate called when the request will be retried
|
| |
| virtual void | SetTimeout (float InTimeoutSecs) override |
| | Sets an optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual void | AppendToHeader (const FString &HeaderName, const FString &AdditionalHeaderValue)=0 |
| | Appends to the value already set in the header. 更多...
|
| |
|
virtual void | CancelRequest ()=0 |
| | Called to cancel a request that is still being processed
|
| |
|
virtual void | ClearTimeout ()=0 |
| | Clears the optional timeout in seconds for this HTTP request, causing the default value from FHttpModule::GetTimeout() to be used.
|
| |
| virtual float | GetElapsedTime () const =0 |
| | Gets the time that it took for the server to fully respond to the request. 更多...
|
| |
| virtual const FHttpResponsePtr | GetResponse () const =0 |
| | Get the associated Response 更多...
|
| |
| virtual EHttpRequestStatus::Type | GetStatus () const =0 |
| | Get the current status of the request being processed 更多...
|
| |
| virtual TOptional< float > | GetTimeout () const =0 |
| | Gets the optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual FString | GetVerb () const =0 |
| | Gets the verb (GET, PUT, POST) used by the request. 更多...
|
| |
| virtual FHttpRequestHeaderReceivedDelegate & | OnHeaderReceived ()=0 |
| | Delegate called to signal the receipt of a header. 更多...
|
| |
| virtual FHttpRequestCompleteDelegate & | OnProcessRequestComplete ()=0 |
| | Delegate called when the request is complete. 更多...
|
| |
| virtual FHttpRequestProgressDelegate & | OnRequestProgress ()=0 |
| | Delegate called to update the request/response progress. 更多...
|
| |
|
virtual FHttpRequestWillRetryDelegate & | OnRequestWillRetry ()=0 |
| | Delegate called when the request will be retried
|
| |
| virtual bool | ProcessRequest ()=0 |
| | Called to begin processing the request. 更多...
|
| |
| virtual void | SetContent (const TArray< uint8 > &ContentPayload)=0 |
| | Sets the content of the request (optional data). 更多...
|
| |
| virtual void | SetContent (TArray< uint8 > &&ContentPayload)=0 |
| | Sets the content of the request (optional data). 更多...
|
| |
| virtual bool | SetContentAsStreamedFile (const FString &Filename)=0 |
| | Sets the content of the request to stream from a file. 更多...
|
| |
| virtual void | SetContentAsString (const FString &ContentString)=0 |
| | Sets the content of the request as a string encoded as UTF8. 更多...
|
| |
| virtual bool | SetContentFromStream (TSharedRef< FArchive, ESPMode::ThreadSafe > Stream)=0 |
| | Sets the content of the request to stream directly from an archive. 更多...
|
| |
| virtual void | SetHeader (const FString &HeaderName, const FString &HeaderValue)=0 |
| | Sets optional header info. 更多...
|
| |
| virtual void | SetTimeout (float InTimeoutSecs)=0 |
| | Sets an optional timeout in seconds for this entire HTTP request to complete. 更多...
|
| |
| virtual void | SetURL (const FString &URL)=0 |
| | Sets the URL for the request Eg. 更多...
|
| |
| virtual void | SetVerb (const FString &Verb)=0 |
| | Sets the verb used by the request. 更多...
|
| |
| virtual void | Tick (float DeltaSeconds)=0 |
| | Used to tick the request 更多...
|
| |
|
virtual | ~IHttpRequest ()=default |
| | Destructor for overrides
|
| |
| virtual TArray< FString > | GetAllHeaders () const =0 |
| | Return all headers in an array in "Name: Value" format. 更多...
|
| |
| virtual const TArray< uint8 > & | GetContent () const =0 |
| | Get the content payload of the request or response. 更多...
|
| |
| virtual int32 | GetContentLength () const =0 |
| | Shortcut to get the Content-Length header value. 更多...
|
| |
| virtual FString | GetContentType () const =0 |
| | Shortcut to get the Content-Type header value (if available) 更多...
|
| |
| virtual FString | GetHeader (const FString &HeaderName) const =0 |
| | Gets the value of a header, or empty string if not found. 更多...
|
| |
| virtual FString | GetURL () const =0 |
| | Get the URL used to send the request. 更多...
|
| |
| virtual FString | GetURLParameter (const FString &ParameterName) const =0 |
| | Gets an URL parameter. 更多...
|
| |
|
virtual | ~IHttpBase ()=default |
| | Destructor for overrides
|
| |
| TSharedRef< IHttpRequest, Mode > | AsShared () |
| | Provides access to a shared reference to this object. 更多...
|
| |
| TSharedRef< IHttpRequest 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. 更多...
|
| |
Adapter class for IHttpRequest abstract interface does not fully expose the wrapped interface in the base.
This allows client defined marshalling of the requests when end point permissions are at issue.