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
import { Client } from 'draconode';
const client = new Client({
checkProtocol: true, // fail if server protocal different from client protocol (should be true)
utcOffset: number, // utcOffset in minutes of the client, default to the system one
proxy: 'http://server:port', // proxy, if none direct connection will be made
timeout: 20*1000, // timeout in ms of the http request (20s is the same as the app)
protocolVersion: number, // force the protocolVersion (should be left to default)
clientVersion: number, // force the clientVersion (should be left to default)
});