Olivine-Labs / Alchemy-Websockets

An extremely efficient C# WebSocket server.
http://AlchemyWebsockets.net
Other
309 stars 105 forks source link

UserContext class should expose _context as protected instead of private #42

Closed Rushino closed 12 years ago

Rushino commented 12 years ago

Hello, i wanted to disconnect an user which is connect to my server but there no method available for this operation. The fix would be the change the _context protection level from the UserContext class to protected so we can inherit from the UserContext class and add our own method which could also enable us for more control or just implement a disconnect method. I want your opinion on that. Is there a reason why the _context is private ?

ajacksified commented 12 years ago

Moved to protected - fixed with commit 4d768056a79cde9dce60bdd636d8def293b54985