|
Whitebeam Template Reference Documentation
|
HttpRequest Template
toString()
Return the 'body' property of this HttpRequest.
Syntax
string = rb.HttpRequest.toString()
Parameters
The 'toString' method takes no parameters
Results
The 'toString' method returns string:
Type/Value | Range/Length | Description |
string |
  |
The body text returned from the remote server. The same as HttpRequest.body property.
|
Remarks This method simply returns the 'body' property of the HttpRequest object. Generally it is not necessary to explicity call this
method - the JavaScript engine calls toString whenever it needs a string representation of an object. So - the effect of: <rb:eval expr="rb.page.write(request)">
and <rb:eval expr="rb.page.write(request.toString()>)">
are the same. |
|
(loadtime : 12ms) |