setProtocol(proto)

Sets the protocol used for connections.

setProtocol(proto)

Parameters

  • proto (number) – 0 = Auto, 1 = Mux, 2 = Qux

Return Value

number (0 = success)

Example

// example

sdk.setProtocol(1);

Last updated

Was this helpful?