Description:
[ Compact ]
[ CCode ( cname = "struct lcb_create_st" , destroy_function = "" ) ]
public struct ConnectionOptions
Content:
Fields:
- public int version
- public string v0_host
- public string v0_user
- public string v0_passwd
- public string v0_bucket
- public IO v0_io
- public string host
A list of hosts:port separated by ';' to the administration port of the
couchbase cluster. (ex: "host1;host2:9000;host3" would try to connect to host1 on port 8091, if that fails it'll connect to host2 on port
9000 etc). The hostname may also be specified as a URI looking like:
http://localhost:8091/pools
- public string user
The username to use.
- public string passwd
The password to use.
- public string bucket
The bucket to connect to.
- public IO io
The io handle to use.
- public ConnectionType type
The type of the connection: * ConnectionType.BUCKET - NULL for bucket
means "default" bucket * ConnectionType.CLUSTER - the bucket argument ignored and all data commands will return LCB_NOT_SUPPORTED