C# Class HappyFunTimes.HFTCaptivePortalHandler

Exibir arquivo Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
HFTCaptivePortalHandler ( HFTWebServerUtils utils ) : System
HandleRequest ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool

Private Methods

Method Description
Check ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
GetBaseUrl ( WebSocketSharp.Net.HttpListenerRequest req ) : string
SendCaptivePortalHTML ( WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res, string sessionId, string path ) : void

Method Details

HFTCaptivePortalHandler() public method

public HFTCaptivePortalHandler ( HFTWebServerUtils utils ) : System
utils HFTWebServerUtils
return System

HandleRequest() public method

public HandleRequest ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
path string
req WebSocketSharp.Net.HttpListenerRequest
res WebSocketSharp.Net.HttpListenerResponse
return bool