Unreal Engine Plugin
HTTP Client
How to use HTTP client class
References
#include "http/httpclient.h"
How to use
Blueprint: search by GetInternetProtocolSubsystem
and call CreateHttpClient
function
C++: Use the code bellow
#include "http/httpclient.h"
UHttpClient* client = NewObject<UHttpClient>();
Variables
Idle Timeout Seconds
- Set/Get timeout value in seconds
Idle Timeout Seconds
Functions
Is Open
- Return true if socket is open.
𝑓
Is Open
Return Value
Set Host
- Set address and port to resolve. Must be called before use 'Request' function.
𝑓
Set Host
Target is Http Client
Target
Request
Request
- Process payload and send request.
𝑓
Request
Target is Http Client
Target
Request
Callback
On Request
Custom Event
Error Code
Response
Close
- Close the underlying socket and stop listening for data on it. Also can be used to force cancel the request process.