[Mono-dev] Status of HttpContext.AcceptWebSocketRequest ?

SirNoSkill quandary82 at hailmail.net
Tue Jun 25 06:14:46 UTC 2013


Question:

I was playing around with MVC4 & websockets on mono3.
I copied a simple echo example using websockets, and a chat 
example using Microsoft.WebSockets, first had to make them work on
Windows 
since they were written using some CTP versions of .NET 4.5.

I was astonished most things were implemented.
However, apart from the runtime-bug HttpApplication->GetType not
implemented, 
which seems to be easy enough to fix myself, there were 2 methods not
implemented.
HttpContext.AcceptWebSocketRequest 
and 
HttpContext.IsWebSocketRequest


Now I'm sure IsWebSocketRequest is just a simple formality,
but regarding AcceptWebSocketRequest I am wondering.

Because my understanding is that AcceptWebSocketRequest registers a 
user-defined callback function in IIS8, and mono would need to register 
this function for several backends, like xsp4, Nginx +
fastcgi-mono-server4, 
Apache + mod_mono, IIS, etc.

So here my question:
Has this just been left out because it is difficult/time-consuming, 
or is it not implemented on purpose ?



-- 
  SirNoSkill
  quandary82 at hailmail.net

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/help/overview_quotes.html



More information about the Mono-devel-list mailing list