C# Class HttpMock.HttpServer

Inheritance: IHttpServer
Exibir arquivo Open project: hibri/HttpMock Class Usage Examples

Public Methods

Method Description
AssertWasCalled ( IRequestVerify>.Func func ) : IRequestVerify
AssertWasNotCalled ( IRequestVerify>.Func func ) : IRequestVerify
Dispose ( ) : void
HttpServer ( Uri uri ) : System
IsAvailable ( ) : bool
Start ( ) : void
Stub ( IRequestStub>.Func func ) : IRequestStub
WhatDoIHave ( ) : string
WithNewContext ( ) : IHttpServer
WithNewContext ( string baseUri ) : IHttpServer

Private Methods

Method Description
StartListening ( ) : void

Method Details

AssertWasCalled() public method

public AssertWasCalled ( IRequestVerify>.Func func ) : IRequestVerify
func IRequestVerify>.Func
return IRequestVerify

AssertWasNotCalled() public method

public AssertWasNotCalled ( IRequestVerify>.Func func ) : IRequestVerify
func IRequestVerify>.Func
return IRequestVerify

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( Uri uri ) : System
uri System.Uri
return System

IsAvailable() public method

public IsAvailable ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Stub() public method

public Stub ( IRequestStub>.Func func ) : IRequestStub
func IRequestStub>.Func
return IRequestStub

WhatDoIHave() public method

public WhatDoIHave ( ) : string
return string

WithNewContext() public method

public WithNewContext ( ) : IHttpServer
return IHttpServer

WithNewContext() public method

public WithNewContext ( string baseUri ) : IHttpServer
baseUri string
return IHttpServer