Back to product page

Request property


Returns reference to current request.

Type

WebRequest object

Syntax

  • C#
  • VB.NET
WebRequest Request {get; };

ReadOnly Property Request As WebRequest

Remarks

Request property returns reference to WeOnlyDo.Server.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 without reconnecting. If so, wodWebServer.NET 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.

Platforms

Windows