Back to product page

Response property


Returns reference to current response.

Type

WebResponse object

Syntax

  • C#
  • VB.NET
WebResponse Response {get; };

ReadOnly Property Response As WebResponse

Remarks

This property returns reference to WebResponse object. It holds all information important for response that will be sent back to the user. You should access this property mostly from RequestDone event - a place where you should set appropriate StatusCode (as result of request), Response.Body and perhaps add one or more Response.Headers. Response object always is used for corresponding Request object, both belonging to the user who connected to the server.

Platforms

Windows