Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/GenericPlatform > API/Runtime/HTTP/GenericPlatform/FGenericPlatformHttp
References
| Module | HTTP |
| Header | /Engine/Source/Runtime/Online/HTTP/Public/GenericPlatform/GenericPlatformHttp.h |
| Include | #include "GenericPlatform/GenericPlatformHttp.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/GenericPlatform/GenericPlatformHttp.cpp |
static TOptional< uint16 > GetUrlPort
&40;
const FStringView Url
&41;
Remarks
Extract the Port part of a URL, or an unset object if there was non specified. Example: "http://example.org:23/" would return 23, while "https://example.org/" would return an unset object
Parameters
| Name | Description |
|---|---|
| Url | The URL to parse for a Port |