ServerList
FinalYes
Class ServerList Helps to get the list of allowed servers for the AI service.
Table of Contents
Methods
- __construct() : mixed
- getAllowedServers() : array<string|int, mixed>
- Get the list of allowed servers.
- getMostSuitableServer() : string|null
- Get the most suitable server based on the current region.
Methods
__construct()
public
__construct() : mixed
getAllowedServers()
Get the list of allowed servers.
public
getAllowedServers() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getMostSuitableServer()
Get the most suitable server based on the current region.
public
getMostSuitableServer() : string|null