HttpServerResponse

Overview

Location

 

constructor

 

constructor

 

HttpServerResponse()

 

Sub New

constructor (HttpHeaders)  protected    (declared in HttpOutgoingRequestResponse)

 

constructor(header: HttpHeaders)

 

HttpServerResponse(HttpHeaders header)

 

Sub New (header As HttpHeaders)

Parameters:

  • header:

add_OnTransferEnd    (declared in HttpRequestResponse)

 

method add_OnTransferEnd(value: EventHandler<TransferEndEventArgs>)

 

void add_OnTransferEnd(EventHandler<TransferEndEventArgs> value)

 

Sub add_OnTransferEnd(value As EventHandler<TransferEndEventArgs>)

Parameters:

  • value:

add_OnTransferProgress    (declared in HttpRequestResponse)

 

method add_OnTransferProgress(value: EventHandler<TransferProgressEventArgs>)

 

void add_OnTransferProgress(EventHandler<TransferProgressEventArgs> value)

 

Sub add_OnTransferProgress(value As EventHandler<TransferProgressEventArgs>)

Parameters:

  • value:

add_OnTransferStart    (declared in HttpRequestResponse)

 

method add_OnTransferStart(value: EventHandler<TransferStartEventArgs>)

 

void add_OnTransferStart(EventHandler<TransferStartEventArgs> value)

 

Sub add_OnTransferStart(value As EventHandler<TransferStartEventArgs>)

Parameters:

  • value:

Client  protected

 

property Client: Boolean read;

 

Boolean Client { get; }

 

Property ReadOnly Client As Boolean

CloneEvents    (declared in HttpRequestResponse)

 

method CloneEvents(source: HttpRequestResponse)

 

void CloneEvents(HttpRequestResponse source)

 

Sub CloneEvents(source As HttpRequestResponse)

Parameters:

  • source:

CloseStream    (declared in HttpOutgoingRequestResponse)

 

property CloseStream: Boolean read write;

 

Boolean CloseStream { get; set; }

 

Property CloseStream As Boolean

Code

 

property Code: Int32 read write;

 

Int32 Code { get; set; }

 

Property Code As Int32

ContentBytes    (declared in HttpOutgoingRequestResponse)

 

property ContentBytes: array of Byte read write;

 

Byte[] ContentBytes { get; set; }

 

Property ContentBytes As array of Byte

ContentSource    (declared in HttpOutgoingRequestResponse)

 

property ContentSource: ContentSource read;

 

ContentSource ContentSource { get; }

 

Property ReadOnly ContentSource As ContentSource

ContentStream    (declared in HttpOutgoingRequestResponse)

 

property ContentStream: Stream read write;

 

Stream ContentStream { get; set; }

 

Property ContentStream As Stream

ContentString    (declared in HttpOutgoingRequestResponse)

 

property ContentString: String read write;

 

String ContentString { get; set; }

 

Property ContentString As String

Encoding    (declared in HttpRequestResponse)

 

property Encoding: Encoding read write;

 

Encoding Encoding { get; set; }

 

Property Encoding As Encoding

FinalizeHeader

 

method FinalizeHeader

 

void FinalizeHeader()

 

Sub FinalizeHeader

HandleOnBytesSent  protected    (declared in HttpOutgoingRequestResponse)

 

method HandleOnBytesSent(sender: Object; e: EventArgs)

 

void HandleOnBytesSent(Object sender, EventArgs e)

 

Sub HandleOnBytesSent(sender As Object, e As EventArgs)

Parameters:

  • sender:
  • e:

HasOnTransferProgress  protected    (declared in HttpRequestResponse)

 

property HasOnTransferProgress: Boolean read;

 

Boolean HasOnTransferProgress { get; }

 

Property ReadOnly HasOnTransferProgress As Boolean

Header    (declared in HttpRequestResponse)

 

property Header: HttpHeaders read write;

 

HttpHeaders Header { get; set; }

 

Property Header As HttpHeaders

HttpCode

 

property HttpCode: HttpStatusCode read write;

 

HttpStatusCode HttpCode { get; set; }

 

Property HttpCode As HttpStatusCode

KeepAlive    (declared in HttpOutgoingRequestResponse)

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive As Boolean

OnTransferEnd    (declared in HttpRequestResponse)

 

event OnTransferEnd: EventHandler<TransferEndEventArgs>;

 

delegate EventHandler<TransferEndEventArgs> OnTransferEnd()

 

Event OnTransferEnd As EventHandler<TransferEndEventArgs>

OnTransferProgress    (declared in HttpRequestResponse)

 

event OnTransferProgress: EventHandler<TransferProgressEventArgs>;

 

delegate EventHandler<TransferProgressEventArgs> OnTransferProgress()

 

Event OnTransferProgress As EventHandler<TransferProgressEventArgs>

OnTransferStart    (declared in HttpRequestResponse)

 

event OnTransferStart: EventHandler<TransferStartEventArgs>;

 

delegate EventHandler<TransferStartEventArgs> OnTransferStart()

 

Event OnTransferStart As EventHandler<TransferStartEventArgs>

remove_OnTransferEnd    (declared in HttpRequestResponse)

 

method remove_OnTransferEnd(value: EventHandler<TransferEndEventArgs>)

 

void remove_OnTransferEnd(EventHandler<TransferEndEventArgs> value)

 

Sub remove_OnTransferEnd(value As EventHandler<TransferEndEventArgs>)

Parameters:

  • value:

remove_OnTransferProgress    (declared in HttpRequestResponse)

 

method remove_OnTransferProgress(value: EventHandler<TransferProgressEventArgs>)

 

void remove_OnTransferProgress(EventHandler<TransferProgressEventArgs> value)

 

Sub remove_OnTransferProgress(value As EventHandler<TransferProgressEventArgs>)

Parameters:

  • value:

remove_OnTransferStart    (declared in HttpRequestResponse)

 

method remove_OnTransferStart(value: EventHandler<TransferStartEventArgs>)

 

void remove_OnTransferStart(EventHandler<TransferStartEventArgs> value)

 

Sub remove_OnTransferStart(value As EventHandler<TransferStartEventArgs>)

Parameters:

  • value:

ResponseText

 

property ResponseText: String read;

 

String ResponseText { get; }

 

Property ReadOnly ResponseText As String

SendError (Int32, Exception)

 

method SendError(responseCode: Int32; ex: Exception)

 

void SendError(Int32 responseCode, Exception ex)

 

Sub SendError(responseCode As Int32, ex As Exception)

Parameters:

  • responseCode:
  • ex:

SendError (Int32, String)

 

method SendError(responseCode: Int32; message: String)

 

void SendError(Int32 responseCode, String message)

 

Sub SendError(responseCode As Int32, message As String)

Parameters:

  • responseCode:
  • message:

SendError (HttpStatusCode, Exception)

 

method SendError(responseCode: HttpStatusCode; ex: Exception)

 

void SendError(HttpStatusCode responseCode, Exception ex)

 

Sub SendError(responseCode As HttpStatusCode, ex As Exception)

Parameters:

  • responseCode:
  • ex:

SendError (HttpStatusCode, String)

 

method SendError(responseCode: HttpStatusCode; message: String)

 

void SendError(HttpStatusCode responseCode, String message)

 

Sub SendError(responseCode As HttpStatusCode, message As String)

Parameters:

  • responseCode:
  • message:

SendErrorWithCustomBody (Int32, String)

 

method SendErrorWithCustomBody(responseCode: Int32; message: String)

 

void SendErrorWithCustomBody(Int32 responseCode, String message)

 

Sub SendErrorWithCustomBody(responseCode As Int32, message As String)

Parameters:

  • responseCode:
  • message:

SendErrorWithCustomBody (HttpStatusCode, String)

 

method SendErrorWithCustomBody(responseCode: HttpStatusCode; message: String)

 

void SendErrorWithCustomBody(HttpStatusCode responseCode, String message)

 

Sub SendErrorWithCustomBody(responseCode As HttpStatusCode, message As String)

Parameters:

  • responseCode:
  • message:

Server  protected

 

property Server: Boolean read;

 

Boolean Server { get; }

 

Property ReadOnly Server As Boolean

Status

 

property Status: String read write;

 

String Status { get; set; }

 

Property Status As String

TriggerOnTransferEnd  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferEnd(direction: TransferDirection)

 

void TriggerOnTransferEnd(TransferDirection direction)

 

Sub TriggerOnTransferEnd(direction As TransferDirection)

Parameters:

  • direction:

TriggerOnTransferProgress  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferProgress(direction: TransferDirection; position: Int64)

 

void TriggerOnTransferProgress(TransferDirection direction, Int64 position)

 

Sub TriggerOnTransferProgress(direction As TransferDirection, position As Int64)

Parameters:

  • direction:
  • position:

TriggerOnTransferStart  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferStart(direction: TransferDirection; size: Int64)

 

void TriggerOnTransferStart(TransferDirection direction, Int64 size)

 

Sub TriggerOnTransferStart(direction As TransferDirection, size As Int64)

Parameters:

  • direction:
  • size:

WriteBodyToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteBodyToConnection(connection: Connection)

 

void WriteBodyToConnection(Connection connection)

 

Sub WriteBodyToConnection(connection As Connection)

Parameters:

  • connection:

WriteHeaderToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteHeaderToConnection(connection: Connection)

 

void WriteHeaderToConnection(Connection connection)

 

Sub WriteHeaderToConnection(connection As Connection)

Parameters:

  • connection:

WriteToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteToConnection(connection: Connection)

 

void WriteToConnection(Connection connection)

 

Sub WriteToConnection(connection As Connection)

Parameters:

  • connection:

 

Client  protected

 

property Client: Boolean read;

 

Boolean Client { get; }

 

Property ReadOnly Client As Boolean

CloseStream    (declared in HttpOutgoingRequestResponse)

 

property CloseStream: Boolean read write;

 

Boolean CloseStream { get; set; }

 

Property CloseStream As Boolean

Code

 

property Code: Int32 read write;

 

Int32 Code { get; set; }

 

Property Code As Int32

ContentBytes    (declared in HttpOutgoingRequestResponse)

 

property ContentBytes: array of Byte read write;

 

Byte[] ContentBytes { get; set; }

 

Property ContentBytes As array of Byte

ContentSource    (declared in HttpOutgoingRequestResponse)

 

property ContentSource: ContentSource read;

 

ContentSource ContentSource { get; }

 

Property ReadOnly ContentSource As ContentSource

ContentStream    (declared in HttpOutgoingRequestResponse)

 

property ContentStream: Stream read write;

 

Stream ContentStream { get; set; }

 

Property ContentStream As Stream

ContentString    (declared in HttpOutgoingRequestResponse)

 

property ContentString: String read write;

 

String ContentString { get; set; }

 

Property ContentString As String

Encoding    (declared in HttpRequestResponse)

 

property Encoding: Encoding read write;

 

Encoding Encoding { get; set; }

 

Property Encoding As Encoding

HasOnTransferProgress  protected    (declared in HttpRequestResponse)

 

property HasOnTransferProgress: Boolean read;

 

Boolean HasOnTransferProgress { get; }

 

Property ReadOnly HasOnTransferProgress As Boolean

Header    (declared in HttpRequestResponse)

 

property Header: HttpHeaders read write;

 

HttpHeaders Header { get; set; }

 

Property Header As HttpHeaders

HttpCode

 

property HttpCode: HttpStatusCode read write;

 

HttpStatusCode HttpCode { get; set; }

 

Property HttpCode As HttpStatusCode

KeepAlive    (declared in HttpOutgoingRequestResponse)

 

property KeepAlive: Boolean read write;

 

Boolean KeepAlive { get; set; }

 

Property KeepAlive As Boolean

ResponseText

 

property ResponseText: String read;

 

String ResponseText { get; }

 

Property ReadOnly ResponseText As String

Server  protected

 

property Server: Boolean read;

 

Boolean Server { get; }

 

Property ReadOnly Server As Boolean

Status

 

property Status: String read write;

 

String Status { get; set; }

 

Property Status As String

 

constructor

 

constructor

 

HttpServerResponse()

 

Sub New

constructor (HttpHeaders)  protected    (declared in HttpOutgoingRequestResponse)

 

constructor(header: HttpHeaders)

 

HttpServerResponse(HttpHeaders header)

 

Sub New (header As HttpHeaders)

Parameters:

  • header:

add_OnTransferEnd    (declared in HttpRequestResponse)

 

method add_OnTransferEnd(value: EventHandler<TransferEndEventArgs>)

 

void add_OnTransferEnd(EventHandler<TransferEndEventArgs> value)

 

Sub add_OnTransferEnd(value As EventHandler<TransferEndEventArgs>)

Parameters:

  • value:

add_OnTransferProgress    (declared in HttpRequestResponse)

 

method add_OnTransferProgress(value: EventHandler<TransferProgressEventArgs>)

 

void add_OnTransferProgress(EventHandler<TransferProgressEventArgs> value)

 

Sub add_OnTransferProgress(value As EventHandler<TransferProgressEventArgs>)

Parameters:

  • value:

add_OnTransferStart    (declared in HttpRequestResponse)

 

method add_OnTransferStart(value: EventHandler<TransferStartEventArgs>)

 

void add_OnTransferStart(EventHandler<TransferStartEventArgs> value)

 

Sub add_OnTransferStart(value As EventHandler<TransferStartEventArgs>)

Parameters:

  • value:

CloneEvents    (declared in HttpRequestResponse)

 

method CloneEvents(source: HttpRequestResponse)

 

void CloneEvents(HttpRequestResponse source)

 

Sub CloneEvents(source As HttpRequestResponse)

Parameters:

  • source:

FinalizeHeader

 

method FinalizeHeader

 

void FinalizeHeader()

 

Sub FinalizeHeader

HandleOnBytesSent  protected    (declared in HttpOutgoingRequestResponse)

 

method HandleOnBytesSent(sender: Object; e: EventArgs)

 

void HandleOnBytesSent(Object sender, EventArgs e)

 

Sub HandleOnBytesSent(sender As Object, e As EventArgs)

Parameters:

  • sender:
  • e:

remove_OnTransferEnd    (declared in HttpRequestResponse)

 

method remove_OnTransferEnd(value: EventHandler<TransferEndEventArgs>)

 

void remove_OnTransferEnd(EventHandler<TransferEndEventArgs> value)

 

Sub remove_OnTransferEnd(value As EventHandler<TransferEndEventArgs>)

Parameters:

  • value:

remove_OnTransferProgress    (declared in HttpRequestResponse)

 

method remove_OnTransferProgress(value: EventHandler<TransferProgressEventArgs>)

 

void remove_OnTransferProgress(EventHandler<TransferProgressEventArgs> value)

 

Sub remove_OnTransferProgress(value As EventHandler<TransferProgressEventArgs>)

Parameters:

  • value:

remove_OnTransferStart    (declared in HttpRequestResponse)

 

method remove_OnTransferStart(value: EventHandler<TransferStartEventArgs>)

 

void remove_OnTransferStart(EventHandler<TransferStartEventArgs> value)

 

Sub remove_OnTransferStart(value As EventHandler<TransferStartEventArgs>)

Parameters:

  • value:

SendError (Int32, Exception)

 

method SendError(responseCode: Int32; ex: Exception)

 

void SendError(Int32 responseCode, Exception ex)

 

Sub SendError(responseCode As Int32, ex As Exception)

Parameters:

  • responseCode:
  • ex:

SendError (Int32, String)

 

method SendError(responseCode: Int32; message: String)

 

void SendError(Int32 responseCode, String message)

 

Sub SendError(responseCode As Int32, message As String)

Parameters:

  • responseCode:
  • message:

SendError (HttpStatusCode, Exception)

 

method SendError(responseCode: HttpStatusCode; ex: Exception)

 

void SendError(HttpStatusCode responseCode, Exception ex)

 

Sub SendError(responseCode As HttpStatusCode, ex As Exception)

Parameters:

  • responseCode:
  • ex:

SendError (HttpStatusCode, String)

 

method SendError(responseCode: HttpStatusCode; message: String)

 

void SendError(HttpStatusCode responseCode, String message)

 

Sub SendError(responseCode As HttpStatusCode, message As String)

Parameters:

  • responseCode:
  • message:

SendErrorWithCustomBody (Int32, String)

 

method SendErrorWithCustomBody(responseCode: Int32; message: String)

 

void SendErrorWithCustomBody(Int32 responseCode, String message)

 

Sub SendErrorWithCustomBody(responseCode As Int32, message As String)

Parameters:

  • responseCode:
  • message:

SendErrorWithCustomBody (HttpStatusCode, String)

 

method SendErrorWithCustomBody(responseCode: HttpStatusCode; message: String)

 

void SendErrorWithCustomBody(HttpStatusCode responseCode, String message)

 

Sub SendErrorWithCustomBody(responseCode As HttpStatusCode, message As String)

Parameters:

  • responseCode:
  • message:

TriggerOnTransferEnd  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferEnd(direction: TransferDirection)

 

void TriggerOnTransferEnd(TransferDirection direction)

 

Sub TriggerOnTransferEnd(direction As TransferDirection)

Parameters:

  • direction:

TriggerOnTransferProgress  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferProgress(direction: TransferDirection; position: Int64)

 

void TriggerOnTransferProgress(TransferDirection direction, Int64 position)

 

Sub TriggerOnTransferProgress(direction As TransferDirection, position As Int64)

Parameters:

  • direction:
  • position:

TriggerOnTransferStart  protected    (declared in HttpRequestResponse)

 

method TriggerOnTransferStart(direction: TransferDirection; size: Int64)

 

void TriggerOnTransferStart(TransferDirection direction, Int64 size)

 

Sub TriggerOnTransferStart(direction As TransferDirection, size As Int64)

Parameters:

  • direction:
  • size:

WriteBodyToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteBodyToConnection(connection: Connection)

 

void WriteBodyToConnection(Connection connection)

 

Sub WriteBodyToConnection(connection As Connection)

Parameters:

  • connection:

WriteHeaderToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteHeaderToConnection(connection: Connection)

 

void WriteHeaderToConnection(Connection connection)

 

Sub WriteHeaderToConnection(connection As Connection)

Parameters:

  • connection:

WriteToConnection    (declared in HttpOutgoingRequestResponse)

 

method WriteToConnection(connection: Connection)

 

void WriteToConnection(Connection connection)

 

Sub WriteToConnection(connection As Connection)

Parameters:

  • connection:

 

OnTransferEnd    (declared in HttpRequestResponse)

 

event OnTransferEnd: EventHandler<TransferEndEventArgs>;

 

delegate EventHandler<TransferEndEventArgs> OnTransferEnd()

 

Event OnTransferEnd As EventHandler<TransferEndEventArgs>

OnTransferProgress    (declared in HttpRequestResponse)

 

event OnTransferProgress: EventHandler<TransferProgressEventArgs>;

 

delegate EventHandler<TransferProgressEventArgs> OnTransferProgress()

 

Event OnTransferProgress As EventHandler<TransferProgressEventArgs>

OnTransferStart    (declared in HttpRequestResponse)

 

event OnTransferStart: EventHandler<TransferStartEventArgs>;

 

delegate EventHandler<TransferStartEventArgs> OnTransferStart()

 

Event OnTransferStart As EventHandler<TransferStartEventArgs>