C# Class HappyFunTimes.HFTWebServer

Show file Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
HFTWebServer ( HFTRuntimeOptions options, string addresses ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
HandleFile ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
HandleLiveSettings ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
HandleMissingRoute ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
HandleNotFound ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
HandleRoot ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool
StartServer ( string addressAndOptionalPort ) : HttpServer
Unwrap ( string s ) : string

Method Details

HFTWebServer() public method

public HFTWebServer ( HFTRuntimeOptions options, string addresses ) : System
options HFTRuntimeOptions
addresses string
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void