MongoClient.readPreference

ReadPreference readPreference() @property @safe const

Returns the read preference configured for this client.