Skip to main content

Module cluster_options

Module cluster_options 

Source
Expand description

Options for configuring a connection to a Couchbase cluster.

The primary type is ClusterOptions, which holds authentication credentials, TLS settings, compression, timeouts, and other connection-level configuration. Pass it to Cluster::connect to establish a connection.

Structs§

ClusterOptions
Configuration options for connecting to a Couchbase cluster.
DnsOptions
Custom DNS resolver configuration. Volatile: This feature is subject to change at any time.
HttpOptions
Configuration for the HTTP client used by query, search, analytics, and management services.
KvOptions
Configuration for key-value (memcached protocol) connections.
OrphanReporterOptions
Configuration for the orphan response reporter.
PollerOptions
Configuration for the cluster map configuration poller.
TlsOptions
TLS configuration for secure connections.

Enums§

CompressionMode
Controls whether the SDK compresses KV request/response bodies.