C# Class Netty.HttpContext

A class that provides a concrete implementation of the IHttpContext interface.
Inheritance: System.MarshalByRefObject, IHttpContext, IDisposable
Show file Open project: Cayan-LLC/netty

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

HttpContext ( HttpListenerContext context ) : System

Initializes a new instance of the HttpContext class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
ApplyNewContext ( HttpListenerContext context ) : void

Updates the context based on an HttpListenerContext.

InitializeLifetimeService ( ) : object

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged resources. ///
return void

HttpContext() public method

Initializes a new instance of the HttpContext class.
public HttpContext ( HttpListenerContext context ) : System
context System.Net.HttpListenerContext The context.
return System