Skip to main content

HttpListenerContext Class

Namespace: System.Net · Assembly: GHIElectronics.TinyCLR.Networking.Http

Provides access to the request and response objects used by the HttpListener class. This class cannot be inherited.

public class HttpListenerContext

Properties

Request

public HttpListenerRequest Request { get; }

Gets the HttpListenerRequest that represents a client's request for a resource.

Response

public HttpListenerResponse Response { get; }

Gets the HttpListenerResponse object that will be sent to the client in response to the client's request.

Methods

Reset()

public void Reset()

Sets the enumerator to its initial position, which is before the first element in the collection. (inherited)