C# Класс Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse

OSHttpResponse is the Universe representation of an HTTP response.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
_httpResponse System.Net.HttpListenerResponse

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

Метод Описание
AddCookie ( System cookie ) : void
AddHeader ( string key, string value ) : void

Add a header field and content to the response.

OSHttpResponse ( HttpListenerContext context ) : System.Net

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

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

public AddCookie ( System cookie ) : void
cookie System
Результат void

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

Add a header field and content to the response.
public AddHeader ( string key, string value ) : void
key string /// string containing the header field /// name ///
value string /// string containing the header field /// value ///
Результат void

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

public OSHttpResponse ( HttpListenerContext context ) : System.Net
context System.Net.HttpListenerContext
Результат System.Net

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

_httpResponse защищенное свойство

protected HttpListenerResponse,System.Net _httpResponse
Результат System.Net.HttpListenerResponse