Platform specific Http implementations 更多...
#include <AndroidPlatformHttp.h>
类 FAndroidPlatformHttp 继承关系图:静态 Public 成员函数 | |
| static IHttpRequest * | ConstructRequest () |
| Creates a new Http request instance for the current platform 更多... | |
| static FHttpManager * | CreatePlatformHttpManager () |
| Creates a platform-specific HTTP manager. 更多... | |
| static TOptional< FString > | GetOperatingSystemProxyAddress () |
| Get the proxy address specified by the operating system 更多... | |
| static void | Init () |
| Platform initialization step | |
| static bool | IsOperatingSystemProxyInformationSupported () |
| Check if getting proxy information from the current operating system is supported Useful for "Network Settings" type pages. 更多... | |
| static void | Shutdown () |
| Platform shutdown step | |
静态 Public 成员函数 继承自 FGenericPlatformHttp | |
| static IHttpRequest * | ConstructRequest () |
| Creates a new Http request instance for the current platform 更多... | |
| static FHttpManager * | CreatePlatformHttpManager () |
| Creates a platform-specific HTTP manager. 更多... | |
| static FString | GetDefaultUserAgent () |
| Returns the default User-Agent string to use in HTTP requests. 更多... | |
| static FString | GetMimeType (const FString &FilePath) |
| Get the mime type for the file 更多... | |
| static TOptional< FString > | GetOperatingSystemProxyAddress () |
| Get the proxy address specified by the operating system 更多... | |
| static FString | GetUrlDomain (const FStringView Url) |
| Returns the domain portion of the URL, e.g., "a.b.c" of "http://a.b.c:d/e" 更多... | |
| static FString | GetUrlDomainAndPort (const FStringView Url) |
| Returns the domain and port portion of the URL, e.g., "a.b.c:d" of "http://a.b.c:d/e" 更多... | |
| static TOptional< FString > | GetUrlParameter (const FStringView Url, const FStringView ParameterName) |
| Extract the URL-Decoded value of the specified ParameterName from Url. 更多... | |
| static FString | GetUrlPath (const FStringView Url, const bool bIncludeQueryString=false, const bool bIncludeFragment=false) |
| Extract the Path portion of a URL, optionally including the Query String, and optionally including the Fragment (when also including the query string.) The return value will always contain a leading forward slash, even if no path is found. 更多... | |
| static TOptional< uint16 > | GetUrlPort (const FStringView Url) |
| Extract the Port part of a URL, or an unset object if there was non specified. 更多... | |
| static FString | HtmlEncode (const FStringView UnencodedString) |
| Returns the < >...etc encoding for strings between HTML elements. 更多... | |
| static void | Init () |
| Platform initialization step | |
| static bool | IsOperatingSystemProxyInformationSupported () |
| Check if getting proxy information from the current operating system is supported Useful for "Network Settings" type pages. 更多... | |
| static TOptional< bool > | IsSecureProtocol (const FStringView Url) |
| Check the protocol of the provided URL to determine if this is for a secure connection (HTTPS, WSS, etc) 更多... | |
| static bool | IsURLEncoded (const TArray< uint8 > &Payload) |
| Helper function for checking if a byte array is in URL encoded format. | |
| static void | Shutdown () |
| Platform shutdown step | |
| static FString | UrlDecode (const FStringView EncodedString) |
| Returns a decoded version of the percent-encoded passed in string 更多... | |
| static FString | UrlEncode (const FStringView UnencodedString) |
| Returns a percent-encoded version of the passed in string 更多... | |
| static bool | UsesThreadedHttp () |
| Check if a platform uses the HTTP thread 更多... | |
Platform specific Http implementations
|
static |
Creates a new Http request instance for the current platform
|
static |
Creates a platform-specific HTTP manager.
Get the proxy address specified by the operating system
|
static |
Check if getting proxy information from the current operating system is supported Useful for "Network Settings" type pages.
GetProxyAddress may return an empty or populated string but that does not imply the operating system does or does not support proxies (or that it has been implemented here)