Bitrix API

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

getAllowedServers()

Get the list of allowed servers.

public getAllowedServers() : array<string|int, mixed>
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

getMostSuitableServer()

Get the most suitable server based on the current region.

public getMostSuitableServer() : string|null
Tags
throws
ArgumentException
Return values
string|null

        
On this page

Search results