Back to product page

SendResponse method


Sends response back to the client.

Type

Void

Syntax

  • C#
  • VB.NET
Void SendResponse();

Sub SendResponse()

Remarks

This method is to be used only if Delivery is set to Manual. It is used to send response back to the client after you have processed it. Usually, it is used when client's request cannot produce immediate response, because you need to do lengthy calculations.
If Delivery is set to Automatic, you should not call this method because wodWebServer.NET will send response anyway. This method is used to send response back to client once you have processed it.

Please note that if client sends more than one request (pipelined) then SendResponse will start sending first response, not the one you perhaps intended to send, since responses must arrive in same sequence as arrived requests.

Platforms

Windows