C# Класс MGDF.GamesManager.Tests.Common.Mocks.MockHttpRequestManager

Наследование: IHttpRequestManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

ClearResponses() публичный Метод

public ClearResponses ( ) : void
Результат void

ExpectResponse() публичный Метод

public ExpectResponse ( string uri, byte content ) : void
uri string
content byte
Результат void

ExpectResponse() публичный Метод

public ExpectResponse ( string uri, byte content, EventHandler read, EventHandler write ) : void
uri string
content byte
read EventHandler
write EventHandler
Результат void

ExpectResponse() публичный Метод

public ExpectResponse ( string uri, string content ) : void
uri string
content string
Результат void

GetResponseStream() публичный Метод

public GetResponseStream ( string uri ) : Stream
uri string
Результат Stream

GetResponseStream() публичный Метод

public GetResponseStream ( string uri, long progress, bool>.Func getCredentials, long &contentLength ) : Stream
uri string
progress long
getCredentials bool>.Func
contentLength long
Результат Stream

GetResponseStream() публичный Метод

public GetResponseStream ( string uri, long progress, long &contentLength ) : Stream
uri string
progress long
contentLength long
Результат Stream

SetCredentials() публичный Метод

public SetCredentials ( string uri, string username, string password ) : void
uri string
username string
password string
Результат void