How to unsubscribe from event handler in SignalR hub proxy?
<p>I am working with JavaScript SignalR client. I open hub connection like:</p>

<pre><code>hubConnection = $.hubConnection(url);
proxy= hubConnection.createHubProxy('SomeHub');
</code></pre>

<p>When I want to subscribe to some hub event: </p>

<pre><code>proxy.on("someEvent", function(someData){
    console.log(someData);
});
</code></pre>

<p>How do I unsubscribe from listening hub event? I tried with proxy.off("someEvent"); but it doesn't work.</p>