C# 클래스 ServiceStack.ServiceHost.Tests.Formats.ViewTests.MockHttpResponse

상속: IHttpResponse
파일 보기 프로젝트 열기: ServiceStack/ServiceStack 1 사용 예제들

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