| IHttpBase | ||||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h |
Include |
#include "HttpRequestAdapter.h" |
class FHttpRequestAdapterBase : public FHttpRequestImpl
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.
Name | Description | ||
---|---|---|---|
|
TSharedRef< IHt... |
HttpRequest |
Name | Description | |
---|---|---|
|
FHttpRequestAdapterBase ( |
Name | Description | ||
---|---|---|---|
|
AppendToHeader |
Appends to the value already set in the header. |
|
|
float |
GetElapsedTime() |
Gets the time that it took for the server to fully respond to the request. |
|
const FHttpR... |
GetResponse() |
Get the associated Response |
|
EHttpRequest... |
GetStatus() |
Get the current status of the request being processed |
|
GetVerb() |
Gets the verb (GET, PUT, POST) used by the request. |
|
|
SetContent |
Sets the content of the request (optional data). Usually only set for POST requests. |
|
|
SetContentAsStreamedFile ( |
Sets the content of the request to stream from a file. |
|
|
SetContentAsString ( |
Sets the content of the request as a string encoded as UTF8. |
|
|
SetContentFromStream ( |
Sets the content of the request to stream directly from an archive. |
|
|
SetHeader |
Sets optional header info. |
|
|
SetURL ( |
Sets the URL for the request Eg. |
|
|
SetVerb ( |
Sets the verb used by the request. |
|
|
Tick ( |
Used to tick the request |
Name | Description | ||
---|---|---|---|
|
GetAllHeaders() |
Return all headers in an array in "Name: Value" format. |
|
|
const TArray... |
GetContent() |
Get the content payload of the request or response. |
|
GetContentLength() |
Shortcut to get the Content-Length header value. |
|
|
GetContentType() |
Shortcut to get the Content-Type header value (if available) |
|
|
GetHeader ( |
Gets the value of a header, or empty string if not found. |
|
|
GetURL() |
Get the URL used to send the request. |
|
|
GetURLParameter ( |
Gets an URL parameter. |