Skip to content

rc_client_set_host

Jamiras edited this page May 30, 2023 · 1 revision

Allows the rc_client_t to communicate with a RetroAchievements host other than https://retroachievements.org.

Syntax

void rc_client_set_host(
    rc_client_t* client,
    const char* hostname
);

Parameters

client

The rc_client_t to modify.

hostname

The base URL for constructing server requests. Default is https://retroachievements.org.

Passing NULL or empty string will reset the value to the default.

Remarks

This is just a wrapper for rc_api_set_host. Changing this value affects the global value used by all rc_api_ calls.

This is primarily used to disable SSL by passing http://retroachievements.org as the new value, but can also be passed addresses for test sites.

Minimum version: 11.0.0

See also

rc_api_set_host

rcheevos

rc_client

Integration guide

client

user

game

processing

rc_client_raintegration

Integration guide

rc_runtime

rhash

rapi

common

user

runtime

info

Clone this wiki locally