Nakama C++ Client SDK 2.5.1
Client for Nakama Server
RtClientParameters Struct Reference

#include <NRtClientInterface.h>

Public Attributes

std::string host = "127.0.0.1"
 The host address of the server. Defaults to "127.0.0.1". More...
 
int32_t port = DEFAULT_PORT
 
bool ssl = false
 

Member Data Documentation

◆ host

std::string RtClientParameters::host = "127.0.0.1"

The host address of the server. Defaults to "127.0.0.1".

◆ port

int32_t RtClientParameters::port = DEFAULT_PORT

The port number of the server. Default is 7350 for non-SSL connection, 443 for SSL.

◆ ssl

bool RtClientParameters::ssl = false

Set connection strings to use the secure mode with the server. Defaults to false. The server must be configured to make use of this option. With HTTP, GRPC, and WebSockets the server must be configured with an SSL certificate or use a load balancer which performs SSL termination. For rUDP you must configure the server to expose it's IP address so it can be bundled within session tokens. See the server documentation for more information.


The documentation for this struct was generated from the following file: