Skip to content

rc_api_set_host

Jamiras edited this page Jun 17, 2025 · 2 revisions

Specifies the host to use for rapi requests.

Deprecated: call _hosted version of rc_api_init_ functions

Syntax

void rc_api_set_host(
    const char* hostname
);

Parameters

hostname

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

Remarks

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: 10.0.0

Deprecated version: 12.0.0

See also

rc_api_set_image_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