C# Class MGDF.GamesManager.Tests.Common.Mocks.MockHttpRequestManager

Inheritance: IHttpRequestManager
Exibir arquivo Open project: mrsharpoblunto/MGDF

Public Methods

Method Description
ClearResponses ( ) : void
ExpectResponse ( string uri, byte content ) : void
ExpectResponse ( string uri, byte content, EventHandler read, EventHandler write ) : void
ExpectResponse ( string uri, string content ) : void
GetResponseStream ( string uri ) : Stream
GetResponseStream ( string uri, long progress, bool>.Func getCredentials, long &contentLength ) : Stream
GetResponseStream ( string uri, long progress, long &contentLength ) : Stream
SetCredentials ( string uri, string username, string password ) : void

Method Details

ClearResponses() public method

public ClearResponses ( ) : void
return void

ExpectResponse() public method

public ExpectResponse ( string uri, byte content ) : void
uri string
content byte
return void

ExpectResponse() public method

public ExpectResponse ( string uri, byte content, EventHandler read, EventHandler write ) : void
uri string
content byte
read EventHandler
write EventHandler
return void

ExpectResponse() public method

public ExpectResponse ( string uri, string content ) : void
uri string
content string
return void

GetResponseStream() public method

public GetResponseStream ( string uri ) : Stream
uri string
return Stream

GetResponseStream() public method

public GetResponseStream ( string uri, long progress, bool>.Func getCredentials, long &contentLength ) : Stream
uri string
progress long
getCredentials bool>.Func
contentLength long
return Stream

GetResponseStream() public method

public GetResponseStream ( string uri, long progress, long &contentLength ) : Stream
uri string
progress long
contentLength long
return Stream

SetCredentials() public method

public SetCredentials ( string uri, string username, string password ) : void
uri string
username string
password string
return void