C# Класс Stumps.Http.StumpsHttpContext

A class that represents the complete context for an HTTP request.
Наследование: IStumpsHttpContext
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
EndResponse ( bool abort ) : void

Closes the HTTP context and responds to the calling client.

StumpsHttpContext ( HttpListenerContext context ) : System

Initializes a new instance of the T:Stumps.Http.StumpsHttpContext class.

Приватные методы

Метод Описание
WriteBody ( ) : void

Writes the body to the HTTP listener response.

WriteHeaders ( ) : void

Writes the headers to the HTTP listener response.

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

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

Closes the HTTP context and responds to the calling client.
public EndResponse ( bool abort ) : void
abort bool if set to true, the connection is aborted without responding.
Результат void

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

Initializes a new instance of the T:Stumps.Http.StumpsHttpContext class.
is null.
public StumpsHttpContext ( HttpListenerContext context ) : System
context System.Net.HttpListenerContext The used to initialize the instance.
Результат System