C# Class ServiceStack.ServiceHost.Tests.Formats.ViewTests.MockHttpResponse

Inheritance: IHttpResponse
Afficher le fichier Open project: ServiceStack/ServiceStack Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

Method Details

AddHeader() public méthode

public AddHeader ( string name, string value ) : void
name string
value string
Résultat void

ClearCookies() public méthode

public ClearCookies ( ) : void
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

End() public méthode

public End ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

GetHeader() public méthode

public GetHeader ( string name ) : string
name string
Résultat string

MockHttpResponse() public méthode

public MockHttpResponse ( IRequest httpReq ) : System
httpReq IRequest
Résultat System

Redirect() public méthode

public Redirect ( string url ) : void
url string
Résultat void

SetContentLength() public méthode

public SetContentLength ( long contentLength ) : void
contentLength long
Résultat void

SetCookie() public méthode

public SetCookie ( Cookie cookie ) : void
cookie System.Net.Cookie
Résultat void

Write() public méthode

public Write ( string text ) : void
text string
Résultat void