The spv.ds.DsClientSettings Class

spv.ds.DsClientSettings()

.assert_valid()

.debug_print {?boolean}

.on_service_failure {?function( Error )}

A function that is called if the backend service generates unexpected errors.

.on_service_unavailable {?function( Error )}

A function that is called if the backend service cannot be reached.

.on_unauthorized_session {?function( Error )}

A callback to notify whenever the protocol issues an Unauthorized Session error. The error will pass to the call-specific error callback if this field is null.

.origin {?string}

Origin is used to track the outer client URL, the URL to the embedding page. The name is admittedly vague but it is the name used by the server side code.

.overloadWith(other)

Creates new settings by overloading these settings with another set of settings. Null properties are left untouched, but defined properties are taken from the argument settings. @export

other {!spv.ds.DsClientSettings}
returns {!spv.ds.DsClientSettings}

.session_ttl {number}

Session Time To Live in seconds. Introduced to cleanup test session resources. 0 --> use server default.

.toString()

returns {!string}

.use_jsonp {?boolean}

.use_nova_protocol {?boolean}