Skip to content

Instantly share code, notes, and snippets.

@MagnusThor
Created December 14, 2015 15:08
Show Gist options
  • Select an option

  • Save MagnusThor/96d2c0d3323d48fd2a46 to your computer and use it in GitHub Desktop.

Select an option

Save MagnusThor/96d2c0d3323d48fd2a46 to your computer and use it in GitHub Desktop.
Pass a object , that you can grab from the c# controller using .GetParameter("foo") ...
var myParams = {
foo: "bar",
categoryId :1001
};
xsocketsControllerProvider.open("ws://" + location.host, myParams);
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment