Created
March 4, 2014 09:39
-
-
Save Zarkonnen/9343252 to your computer and use it in GitHub Desktop.
The JS object that would be attached to the document of select pages to allow communication with Sauce Connect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/** | |
* Set any of the following settings by passing in a settings object. | |
* | |
* If the user has not previously approved setting settings for this account name and access key, | |
* they will be prompted to. | |
* | |
* The following settings keys are available: | |
* accountname | |
* accesskey | |
* | |
* tunnelidentifier | |
* seport | |
* sharedtunnel | |
* resturl | |
* | |
* nosslbumpdomains | |
* directdomains | |
* fastfailregexps | |
* | |
* proxyhost | |
* proxyport | |
* proxyuser | |
* proxypassword | |
*/ | |
setSettings: function(accountname, accesskey, settings) {}, | |
/** | |
* Start Sauce connect. Requires user approval the first time for a given account name and key. | |
*/ | |
startConnect: function(accountname, accesskey) {}, | |
/** | |
* Stop sauce connect. | |
*/ | |
stopConnect: function() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment