title: Can I add request parameter to SockJs constructor so that it can be send to server
body: <p>I initialize my SockJs URL as</p>
  
  <pre><code>var protocols = ['xhr-polling', 'xdr-polling',  'xdr-streaming', 'xhr-streaming'];
  var options = {protocols_whitelist: protocols, debug: true,server:tets};
  _ws = new SockJS(url, null, options);
  </code></pre>
  
  <p>I want to send out a request parameter , for example somesite/sockjs/info?someparam=tets"</p>
  
  <p>Is it possible? Documentation <a href="https://github.com/sockjs/sockjs-client" rel="nofollow">of SockJs </a>refers that options is map which can have key value but i am not sure what key to use here.</p>
  
  <p>I verified URL at server which SockJs sends over and it is </p>
  
  <pre><code>http://http_backend/cecobrowsega-3.0.0.0.31/sockjs/testapp/620/4ydem52f/xhr?null 
  </code></pre>
  
  <p>So in absence of request param its appending a null, seems there is a way to send over request param!</p>