Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1642

Add missing getters to uri

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.3.1
    • Component/s: API
    • None

      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?

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: