C# Class SelfishHttp.HttpResourceHandler

Inheritance: IHttpResourceHandler
Show file Open project: featurist/SelfishHttp Class Usage Examples

Public Methods

Method Description
AddHandler ( Action>.Action handler ) : void
Handle ( HttpListenerContext context, System.Action next ) : void
HttpResourceHandler ( string method, string path, IServerConfiguration serverConfiguration ) : System
IgnorePathCase ( ) : IHttpResourceHandler
Matches ( HttpListenerRequest request ) : bool

Method Details

AddHandler() public method

public AddHandler ( Action>.Action handler ) : void
handler Action>.Action
return void

Handle() public method

public Handle ( HttpListenerContext context, System.Action next ) : void
context System.Net.HttpListenerContext
next System.Action
return void

HttpResourceHandler() public method

public HttpResourceHandler ( string method, string path, IServerConfiguration serverConfiguration ) : System
method string
path string
serverConfiguration IServerConfiguration
return System

IgnorePathCase() public method

public IgnorePathCase ( ) : IHttpResourceHandler
return IHttpResourceHandler

Matches() public method

public Matches ( HttpListenerRequest request ) : bool
request System.Net.HttpListenerRequest
return bool