Back to product page

Body property


Holds full response body.

Type

String

Syntax

  • Basic
object.Body [= value]
The Body(object,value) syntax has these parts:
objectAn expression evaluating to an object of type WebResponse
valueA String value.

Remarks

Body property holds full body that will be sent to the client (but without headers!). When Body property is accessed, wodWebServer will actually open file defined in Filename property, read/write to it and present it to you as String value. If Filename property isn't specified, when you access Body property wodWebServer will create temporary file and write to it. This file will be deleted when Response is sent to the client, and destroyed.

Platforms

Windows