I think what you are looking for is something like WSDL for SignalR.
No, SignalR does not have anything complicated. What you can get manually from SignalR proxy: ./signalr/hubs .
If you look at this code from a proxy server
proxies.chatHub = this.createHubProxy('chatHub'); //hub name proxies.chatHub.client = { }; proxies.chatHub.server = { serverMethod: function (firstParameter, secondParameter, thridParameter) { //hub method and number of parameters return proxies.chatHub.invoke.apply(proxies.chatHub, $.merge(["ServerMethod"], $.makeArray(arguments))); } };
you only get:
- chatHub names ( chatHub )
- server methods and number of parameters ( serverMethod , 3 parameters)
So, the only information that your hub looks something like this:
[HubName("chatHub")] public class ?? : Hub { public ?? ServerMethod(?? firstParameter, ?? secondParameter, ?? thridParameter) { ?? } }
Client methods are not actually listed and are used on the fly. You can catch them fiddler .
source share