You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I installed this package to test the rest API of XRAY, but after I follow the README, when I try the "ping" API, I got a false instead a "pong". Could you please help with this issue? Thank you!
In order to support your use case and throw errors, we should remove the try-catch clause and modify the tests respectfully.
Would you like to contribute code that removing the try-catch?
Hi,
I installed this package to test the rest API of XRAY, but after I follow the README, when I try the "ping" API, I got a false instead a "pong". Could you please help with this issue? Thank you!
`import {XrayClient} from 'xray-client-js'
let xrayClient = new XrayClient({
serverUrl: 'myurl',
username: 'myusername',
password: 'mypassword!',
proxy: {host: 'myurl', port: 80, protocol: 'https'},
headers: { }
});
xrayClient.system().ping()
.then(result => {
console.log(result);
})
.catch(error => {
console.error(error);
});`
The text was updated successfully, but these errors were encountered: