Back to product page

Response property


Returns reference to current response.

Type

WebResponse object

Syntax

  • Basic
object.Response
The Response(object) syntax has these parts:
objectAn expression evaluating to an object of type WebUser

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