I'm currently migrating an existing solution to SignalR (for real time update purpose). The legacy server side was an ASP.NET MVC and is now a WPF application Self hosting SignalR. I want to make my solution backwards compatible as much as possible for the client but all the existing client-side code use Ajax 'post/get' syntax to call server methods like this :
$.ajax({
url: 'api/Controller/Action',
type: "POST",
success: function (result) { ... },
});
Is it possible in any way to intercept these method calls from the SignalR point of view without adding hub connection and/or changing client side code ?