C# Class RestSharp.IntegrationTests.Helpers.SimpleServer

Inheritance: IDisposable
Afficher le fichier Open project: kevinmcmahon/RestSharp Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string url, Action handler ) : SimpleServer
Dispose ( ) : void
Start ( ) : void

Private Methods

Méthode Description
SimpleServer ( HttpListener listener, Action handler ) : System

Method Details

Create() public static méthode

public static Create ( string url, Action handler ) : SimpleServer
url string
handler Action
Résultat SimpleServer

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void