C# Class Jeff.Handler

Show file Open project: peteog/Jeff Class Usage Examples

Public Methods

Method Description
AddRouteAndResponse ( string method, string route, Func response ) : void
Delete ( string route, Func response ) : void
Get ( string route, Func response ) : void
Handler ( ) : System
Post ( string route, Func response ) : void
Put ( string route, Func response ) : void
Routes ( ) : void

Method Details

AddRouteAndResponse() public method

public AddRouteAndResponse ( string method, string route, Func response ) : void
method string
route string
response Func
return void

Delete() public method

public Delete ( string route, Func response ) : void
route string
response Func
return void

Get() public method

public Get ( string route, Func response ) : void
route string
response Func
return void

Handler() public method

public Handler ( ) : System
return System

Post() public method

public Post ( string route, Func response ) : void
route string
response Func
return void

Put() public method

public Put ( string route, Func response ) : void
route string
response Func
return void

Routes() public abstract method

public abstract Routes ( ) : void
return void