C# Класс logv.http.ServerResponse

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

Защищенные свойства (Protected)

Свойство Тип Описание
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