1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# Create a URI
## Basic Usage
@snippet api/mongocxx/examples/uri/basic_usage.cpp Example
## Default Value
@snippet api/mongocxx/examples/uri/default_value.cpp Example
# Query a URI
## User Credentials
@snippet api/mongocxx/examples/uri/userpass.cpp Example
## List of Hosts
@snippet api/mongocxx/examples/uri/hosts.cpp Example
## Optional Options
@snippet api/mongocxx/examples/uri/optional.cpp Example
## All URI Options
@snippet api/mongocxx/examples/uri/all_options.cpp Example
# Error Handling
## Invalid URI
@snippet api/mongocxx/examples/uri/invalid.cpp Example
|