Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

ApiReview: Move WebSocket APIs to HttpContext.WebSockets #267

Closed
Tratcher opened this issue Apr 14, 2015 · 3 comments
Closed

ApiReview: Move WebSocket APIs to HttpContext.WebSockets #267

Tratcher opened this issue Apr 14, 2015 · 3 comments

Comments

@Tratcher
Copy link
Member

WebSocketRequestedProtocols { get; }
AcceptWebSocketAsync()
AcceptWebSocketAsync(string subProtocol)

But not IsWebSocketRequest { get; }

@Tratcher Tratcher self-assigned this Apr 14, 2015
@Tratcher Tratcher added this to the 1.0.0-beta5 milestone Apr 14, 2015
@Tratcher
Copy link
Member Author

I think it makes sense to also move IsWebSocketRequest in with everything else. Just accessing HttContext.WebSockets doesn't imply any operations. Compare to HttpContext.Authentication.

@davidfowl
Copy link
Member

context.WebSockets.IsWebSocketRequest? /cc @lodejard

@Tratcher
Copy link
Member Author

Also do with #273 for IWebSocketAcceptContext.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants