C# Class Fleck.HandlerFactory

Mostra file Open project: directi/Fleck Class Usage Examples

Public Methods

Method Description
BuildHandler ( WebSocketHttpRequest request, Action onMessage, System.Action onClose, Action onBinary ) : IHandler
GetVersion ( WebSocketHttpRequest request ) : string

Method Details

BuildHandler() public static method

public static BuildHandler ( WebSocketHttpRequest request, Action onMessage, System.Action onClose, Action onBinary ) : IHandler
request WebSocketHttpRequest
onMessage Action
onClose System.Action
onBinary Action
return IHandler

GetVersion() public static method

public static GetVersion ( WebSocketHttpRequest request ) : string
request WebSocketHttpRequest
return string