C# 클래스 logv.http.ServerResponse

상속: IDisposable, IServerResponse
파일 보기 프로젝트 열기: coolya/logv.http

보호된 프로퍼티들

프로퍼티 타입 설명
cached bool

공개 메소드들

메소드 설명
Abort ( ) : IServerResponse

Aborts the request

AddCookie ( Cookie cookie ) : IServerResponse

Adds a Cookie

AddHeader ( string name, string value ) : IServerResponse

Adds a Header

Close ( ) : void

Closes the Response

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

Redirect ( string url ) : IServerResponse

Redirects the specified URL.

ServerResponse ( HttpListenerResponse res ) : System

Initializes a new instance of the ServerResponse class.

ServerResponse ( IServerResponse res ) : System

Initializes a new instance of the ServerResponse class.

비공개 메소드들

메소드 설명
Dispose ( ) : void

메소드 상세

Abort() 공개 메소드

Aborts the request
public Abort ( ) : IServerResponse
리턴 IServerResponse

AddCookie() 공개 메소드

Adds a Cookie
public AddCookie ( Cookie cookie ) : IServerResponse
cookie System.Net.Cookie The cookie to add
리턴 IServerResponse

AddHeader() 공개 메소드

Adds a Header
public AddHeader ( string name, string value ) : IServerResponse
name string Name of the header
value string Value for the header
리턴 IServerResponse

Close() 공개 메소드

Closes the Response
public Close ( ) : void
리턴 void

Equals() 공개 메소드

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
리턴 bool

GetHashCode() 공개 메소드

Returns a hash code for this instance.
public GetHashCode ( ) : int
리턴 int

Redirect() 공개 메소드

Redirects the specified URL.
public Redirect ( string url ) : IServerResponse
url string The URL.
리턴 IServerResponse

ServerResponse() 공개 메소드

Initializes a new instance of the ServerResponse class.
public ServerResponse ( HttpListenerResponse res ) : System
res System.Net.HttpListenerResponse The res.
리턴 System

ServerResponse() 공개 메소드

Initializes a new instance of the ServerResponse class.
public ServerResponse ( IServerResponse res ) : System
res IServerResponse The res.
리턴 System

프로퍼티 상세

cached 보호되어 있는 프로퍼티

The cached
protected bool cached
리턴 bool