C# Класс ServiceStack.ServiceHost.Tests.Formats.ViewTests.MockHttpResponse

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

Private Properties

Свойство Тип Описание

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

Метод Описание
AddHeader ( string name, string value ) : void
ClearCookies ( ) : void
Close ( ) : void
End ( ) : void
Flush ( ) : void
GetHeader ( string name ) : string
MockHttpResponse ( IRequest httpReq ) : System
Redirect ( string url ) : void
SetContentLength ( long contentLength ) : void
SetCookie ( Cookie cookie ) : void
Write ( string text ) : void

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

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

public AddHeader ( string name, string value ) : void
name string
value string
Результат void

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

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

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

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

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

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

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

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

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

public GetHeader ( string name ) : string
name string
Результат string

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

public MockHttpResponse ( IRequest httpReq ) : System
httpReq IRequest
Результат System

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

public Redirect ( string url ) : void
url string
Результат void

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

public SetContentLength ( long contentLength ) : void
contentLength long
Результат void

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

public SetCookie ( Cookie cookie ) : void
cookie System.Net.Cookie
Результат void

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

public Write ( string text ) : void
text string
Результат void