Skip to Content
Internet Protocol
Unreal Engine Plugin

HTTP Client Openssl

HTTP client over TLS (OpenSSL) for Unreal Engine: Blueprint nodes, events and C++ usage with the Internet Protocol plugin.

References

#include "http/httpclient.h"

How to use

Blueprint: search by GetInternetProtocolSubsystem and call CreateHttpClientSsl function

C++: Use the code bellow

#include "http/httpclient.h"

FSecurityContextOpts SecOpts = { ... };
UHttpClientSsl* client = NewObject<UHttpClientSsl>();
// Optional: without Construct, the secure defaults are used
client->Construct(SecOpts);

TLS options

  • SecOpts configures certificates, keys and verification. See Security Context Options for every field and its default.
  • Since 3.0.2 the connection is secure by default: TLS 1.2+, peer verification with the system root certificates and, for clients, host name verification + SNI.

4.0: one class for TLS and plain connections

Since 4.0, HttpClientSsl is the HttpClient class with Use Tls turned on. You can also use a plain HttpClient, set Use Tls or call Set Tls Options before connecting.

Functions

This class has the same variables, functions and events as HttpClient.

Edit on GitHub

On this page