lib/http.js
function() {

            // We perform the bindings so that every function works
            // properly when it is passed as a callback.
            this.get                = utils.bind(this, this.get);
            this.del                = utils.bind(this, this.del);
            this.post               = utils.bind(this, this.post);
            this.request            = utils.bind(this, this.request);
            this._buildResponse     = utils.bind(this, this._buildResponse);

            // Set our default version to "none"
            this._setSplunkVersion("none");

            // Cookie store for cookie based authentication.
            this._cookieStore = {};
        }
function() {

            // We perform the bindings so that every function works
            // properly when it is passed as a callback.
            this.get                = utils.bind(this, this.get);
            this.del                = utils.bind(this, this.del);
            this.post               = utils.bind(this, this.post);
            this.request            = utils.bind(this, this.request);
            this._buildResponse     = utils.bind(this, this._buildResponse);

            // Set our default version to "none"
            this._setSplunkVersion("none");

            // Cookie store for cookie based authentication.
            this._cookieStore = {};
        }
function ( ) { // We perform the bindings so that every function works // properly when it is passed as a callback. this . get = utils . bind ( this , this . get ) ; this . del = utils . bind ( this , this . del ) ; this . post = utils . bind ( this , this . post ) ; this . request = utils . bind ( this , this . request ) ; this . _buildResponse = utils . bind ( this , this . _buildResponse ) ; // Set our default version to "none" this . _setSplunkVersion ( "none" ) ; // Cookie store for cookie based authentication. this . _cookieStore = { } ; }
Constructor for `splunkjs.Http`.

@constructor
@return {splunkjs.Http} A new `splunkjs.Http` instance.

@method splunkjs.Http
Constructor for splunkjs . Http .