SockJsClient(transports: MutableList<Transport>)
Create a SockJsClient with the given transports.
If the list includes an XhrTransport (or more specifically an implementation of InfoReceiver) the instance is used to initialize the infoReceiver property, or otherwise is defaulted to RestTemplateXhrTransport.