Created
November 30, 2014 19:27
-
-
Save devdays/690a0333c198490bb239 to your computer and use it in GitHub Desktop.
Check HttpContext if request is of WebSocket -type
This file contains 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
if(context.IsWebSocketRequest){ | |
// Do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment