Share via


RelayedHttpListenerResponse Class

Definition

Represents a response to a request being handled by a HybridConnectionListener object. This is modeled after System.Net.HttpListenerResponse.

public sealed class RelayedHttpListenerResponse : IDisposable
type RelayedHttpListenerResponse = class
    interface IDisposable
Public NotInheritable Class RelayedHttpListenerResponse
Implements IDisposable
Inheritance
RelayedHttpListenerResponse
Implements

Properties

Headers

Gets the collection of header name/value pairs to be returned by this listener.

OutputStream

Gets a Stream object to which a response can be written.

StatusCode

Gets or sets the HTTP status code to be returned to the client.

StatusDescription

Gets or sets a text description of the HTTP status code returned to the client.

Methods

Close()

Sends the response to the client and releases the resources held by this RelayedHttpListenerResponse instance.

CloseAsync()

Sends the response to the client and releases the resources held by this RelayedHttpListenerResponse instance.

Explicit Interface Implementations

IDisposable.Dispose()

Applies to