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

Inheritance: IHttpRequestManager
Afficher le fichier Open project: mrsharpoblunto/MGDF

Méthodes publiques

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

public ClearResponses ( ) : void
Résultat void

ExpectResponse() public méthode

public ExpectResponse ( string uri, byte content ) : void
uri string
content byte
Résultat void

ExpectResponse() public méthode

public ExpectResponse ( string uri, byte content, EventHandler read, EventHandler write ) : void
uri string
content byte
read EventHandler
write EventHandler
Résultat void

ExpectResponse() public méthode

public ExpectResponse ( string uri, string content ) : void
uri string
content string
Résultat void

GetResponseStream() public méthode

public GetResponseStream ( string uri ) : Stream
uri string
Résultat Stream

GetResponseStream() public méthode

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

GetResponseStream() public méthode

public GetResponseStream ( string uri, long progress, long &contentLength ) : Stream
uri string
progress long
contentLength long
Résultat Stream

SetCredentials() public méthode

public SetCredentials ( string uri, string username, string password ) : void
uri string
username string
password string
Résultat void