C# Class HappyFunTimes.HFTRouter

Datei anzeigen Open project: greggman/hft-unity-gamepad

Public Methods

Method Description
Add ( RouteHandler handler ) : void
Route ( string path, WebSocketSharp.Net.HttpListenerRequest req, WebSocketSharp.Net.HttpListenerResponse res ) : bool

Method Details

Add() public method

public Add ( RouteHandler handler ) : void
handler RouteHandler
return void

Route() public method

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