Back to product page

Request property

Returns reference to current request.


WebRequest object


  • Basic
The Request(object) syntax has these parts:
objectAn expression evaluating to an object of type WebUser


Request property returns reference to WebRequest object. It holds all information known about user's request - one you should evaluate and return proper response back to the client.

There can be only one request at a time per user's connection. It is possible, however, that client sends pipelined requests. If so, wodWebServer will wait for you to evaluate previous request before passing new one to you - and creating new Request/Response objects. When new request arrives for you to evaluate it (and send response back), RequestDone event will fire.