Link Search Menu Expand Document

Constructor: nearestDc

Back to constructors index

Nearest data center, according to geo-ip.

Attributes:

NameTypeRequiredDescription
countrystringYesCountry code determined by geo-ip
this_dcintYesNumber of current data center
nearest_dcintYesNumber of nearest data center

Type: NearestDc

Example:

$nearestDc = ['_' => 'nearestDc', 'country' => 'string', 'this_dc' => int, 'nearest_dc' => int];