operator [] method

Host operator [](
  1. HostType type
)

Returns preferred host of given type.

Implementation

Host operator[](HostType type) => selectHost(type, _getHostsList(type));