HostIdentifier

public struct HostIdentifier : Equatable, CustomStringConvertible

A struct representing a host identifier, consisting of a host and an optional port. In standard connection strings, this describes the address of a mongod or mongos to connect to. In mongodb+srv connection strings, this describes a DNS name to be queried for SRV and TXT records.