Contains default values used by the client


package ArangoDBClient
since 0.2

 Constants

 

Default value for accepting self-signed SSL certificates

DEFAULT_ALLOW_SELF_SIGNED = true 
 

Default Authorization type (use HTTP basic authentication)

DEFAULT_AUTH_TYPE = 'Basic' 
 

Default value for checking if data is UTF-8 conform

DEFAULT_CHECK_UTF8_CONFORM = false 
 

Default value for ciphers to be used in SSL

DEFAULT_CIPHERS = null 
 

Default value for HTTP Connection header

DEFAULT_CONNECTION = 'Keep-Alive' 
 

Default value for createCollection (create the collection on the fly when the first document is added to an unknown collection)

DEFAULT_CREATE = false 
 

Default delete policy

DEFAULT_DELETE_POLICY = \ArangoDBClient\UpdatePolicy::ERROR 
 

Default max amount of time (in seconds) that is spent waiting on failover

DEFAULT_FAILOVER_TIMEOUT = 30 
 

Default number of failover servers to try (used in case there is an automatic failover) if set to 0, then an unlimited amount of servers will be tried

DEFAULT_FAILOVER_TRIES = 3 
 

Default value for isVolatile

DEFAULT_IS_VOLATILE = false 
 

Default value for collection journal size

DEFAULT_JOURNAL_SIZE = 33554432 
 

Default port number (used if no port specified)

DEFAULT_PORT = 8529 
 

Default replace policy

DEFAULT_REPLACE_POLICY = \ArangoDBClient\UpdatePolicy::ERROR 
 

Default timeout value (used if no timeout value specified)

DEFAULT_TIMEOUT = 30 
 

Default update policy

DEFAULT_UPDATE_POLICY = \ArangoDBClient\UpdatePolicy::ERROR 
 

Default value for SSL certificate verification

DEFAULT_VERIFY_CERT = false 
 

Default value for SSL certificate host name verification

DEFAULT_VERIFY_CERT_NAME = false 
 

Default value for waitForSync (fsync all data to disk on document updates/insertions/deletions)

DEFAULT_WAIT_SYNC = false