Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

HttpRequest.toString()

Return the 'body' property of this HttpRequest.

Syntax

string = HttpRequest.toString()

Parameters

The 'HttpRequest.toString' method takes no parameters

Results

The 'HttpRequest.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.

Whitebeam release 1.3.36
(loadtime : 22ms)