I'm trying to create a c# version of the Remote Pay Cloud example. Its going well except I dont understand what the code below does. Its creating a new WebSocket using the endpoint and accessToken, but I can't find any explanation of what its actually doing, which makes it hard for me to create a C# version
Any suggestions greatfully received
BrowserWebSocketImpl.prototype.createWebSocket = function (endpoint, accessToken) {
return new WebSocket(endpoint, accessToken);
};