Internet Protocol
Unreal Engine Plugin

HTTP Client Openssl

How to use HTTP client class with openssl

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"
 
UHttpClientSsl* HttpClientSsl = NewObject<UHttpClientSsl>();

Functions

This class has the same functions from HttpClient, except for the ones shown below

Update Ssl Socket

  • Update ssl config.
  • Must be called after change any config from Ssl Context.
TCP client openssl

Get Ssl Context

  • Get ssl context properties.
  • Must be called after change any config from Ssl Context.
TCP client openssl

Get Ssl Socket

  • Get ssl socket properties.
TCP client openssl

Load Private Key Data

  • Load the private key from a string.
  • If any error occurs, it will trigger the OnError event.
Http client openssl

Load Private Key File

  • Load the private key from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
Http client openssl

Load Certificate Data

  • Load the certificate from a string.
  • If any error occurs, it will trigger the OnError event.
Http client openssl

Load Certificate File

  • Load the certificate from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
Http client openssl

Load Certificate Chain Data

  • Load the certificate chain from a string.
  • If any error occurs, it will trigger the OnError event.
Http client openssl

Load Certificate Chain File

  • Load the certificate chain from file.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
Http client openssl

Load Verify File

  • Load the certificate from file and verify if it is valid.
  • If any error occurs, it will trigger the OnError event.
  • Relative path.
Http client openssl

On this page