Back to product page

Send method


Sends response back to the client.

Syntax

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

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. Also, wodWebServer will call this method by itself if you use CGIExecute method (because CGI runs in separate thread so wodWebServer isn't blocked while it executes). If Delivery is set to Automatic, you should not call this method because wodWebServer will send response anyway.

Platforms

Windows