[CXX-1642] Add missing getters to uri Created: 05/Sep/18  Updated: 11/Sep/19  Resolved: 06/Sep/18

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: 3.3.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The uri class provides getters like auth_mechanism(), database(), read_concern(), etc. to retrieve options set on the URI string. However, many are omitted. To name a few:

  • appname
  • retryWrites
  • compressors
  • connecttimeoutms
  • sockettimeoutms
  • authmechanismproperties
  • heartbeatfrequencyms
  • serverselectiontimeoutms

Fortunately, they're still accessible by accessing the document::view of all options with options(). But should we add getters for some of the omitted options?



 Comments   
Comment by Kevin Albertson [ 06/Sep/18 ]

There's no great reason to do this.

Generated at Wed Feb 07 22:03:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.