C# Class SelfishHttp.HttpResourceHandler

Inheritance: IHttpResourceHandler
Afficher le fichier Open project: featurist/SelfishHttp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddHandler ( Action>.Action handler ) : void
handler Action>.Action
Résultat void

Handle() public méthode

public Handle ( HttpListenerContext context, System.Action next ) : void
context System.Net.HttpListenerContext
next System.Action
Résultat void

HttpResourceHandler() public méthode

public HttpResourceHandler ( string method, string path, IServerConfiguration serverConfiguration ) : System
method string
path string
serverConfiguration IServerConfiguration
Résultat System

IgnorePathCase() public méthode

public IgnorePathCase ( ) : IHttpResourceHandler
Résultat IHttpResourceHandler

Matches() public méthode

public Matches ( HttpListenerRequest request ) : bool
request System.Net.HttpListenerRequest
Résultat bool