C# Class Stumps.Http.StumpsHttpContext

A class that represents the complete context for an HTTP request.
Inheritance: IStumpsHttpContext
Afficher le fichier Open project: Cayan-LLC/stumps Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
WriteBody ( ) : void

Writes the body to the HTTP listener response.

WriteHeaders ( ) : void

Writes the headers to the HTTP listener response.

Method Details

EndResponse() public méthode

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.
Résultat void

StumpsHttpContext() public méthode

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.
Résultat System