SuperHttpServerResponse

Overview

SuperHttpServerResponse represents response information from the SuperHttpServer channel. This class is internally used by the SuperHttp channels infrastructure.

Location

Properties


Attempt

Current count of attempts to send the response.

Note: If a communication attempt fails, the SuperHttpServer will try to resend the data up to 16 times.

 

property Attempt: Int32 read write;

 

Int32 Attempt { get; set; }

 

Property Attempt() As Int32

Connection

Object the represents the connection with a particular client.

 

property Connection: SuperHttpServerConnection read write;

 

SuperHttpServerConnection Connection { get; set; }

 

Property Connection() As SuperHttpServerConnection

Headers

HTTP response headers. You can use this property to modify HTTP stream metadata (like Encoding).

 

property Headers: HttpHeaders read write;

 

HttpHeaders Headers { get; set; }

 

Property Headers() As HttpHeaders

ResponseData

Response body.

 

property ResponseData: array of Byte read write;

 

Byte[] ResponseData { get; set; }

 

Property ResponseData() As Byte()

Instance Methods


constructor

Creates a new instance of the SuperHttpServerResponse class.

 

constructor

 

SuperHttpServerResponse()

 

Sub New()