Last active
July 22, 2017 09:52
-
-
Save quyetvv/cd00e52eb830e3dcdba4930a60cc5234 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MyHub: Hub | |
| { | |
| public RTMessage RequestData(RTCRequest requestMessage) | |
| { | |
| try | |
| { | |
| return SignalRRequestHandler.Instance.HandleRequest(requestMessage, Context.ConnectionId); | |
| } | |
| catch (Exception ex) | |
| { | |
| return new RTMessage("Failed"); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment