Internet Protocol
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
Output pin

Functions

Is Open

  • Return true if socket is open.
𝑓
Is Open
Return Value
Output pin

Set Host

  • Set address and port to resolve. Must be called before use 'Request' function.
𝑓
Set Host
Target is Http Client
Input pin
Input pin
Target
Input pin
Request
Output pin

Request

  • Process payload and send request.
𝑓
Request
Target is Http Client
Input pin
Input pin
Target
Input pin
Request
Input pin
Callback
Output pin
On Request
Custom Event
Output pin
Error Code
Output pin
Response
Output pin

Close

  • Close the underlying socket and stop listening for data on it. Also can be used to force cancel the request process.
𝑓
Close
Target is Http Client
Input pin
Input pin
Target
Output pin