C# Class RestSharp.IntegrationTests.Helpers.SimpleServer

Inheritance: IDisposable
ファイルを表示 Open project: kevinmcmahon/RestSharp Class Usage Examples

Public Methods

Method Description
Create ( string url, Action handler ) : SimpleServer
Dispose ( ) : void
Start ( ) : void

Private Methods

Method Description
SimpleServer ( HttpListener listener, Action handler ) : System

Method Details

Create() public static method

public static Create ( string url, Action handler ) : SimpleServer
url string
handler Action
return SimpleServer

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( ) : void
return void