NetRequestEventclass | tadsnet.t[80]

Network Request Event. This type of event occurs when a server (such as an HTTPServer object) receives a request from a network client.

The evRequest member contains a request object describing the network request. The class of this object depends on the type of server that received the request. For example, for an HTTP server, this will be an HTTPRequest object. To reply to the request, use the appropriate method(s) in the request object - for details, see the specific request classes for the server types you create in your program.

`class NetRequestEvent : NetEvent`

Superclass Tree (in declaration order)

`NetRequestEvent`
`NetEvent`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`evRequest evType`

Inherited from `NetEvent` :
`evArgs`

Summary of Methods

`construct`

``

Properties

`evRequest` | `tadsnet.t[97]`

The request object. When the event type is NetEvRequest, this contains a request object describing the request. The class of the request object varies according to the server type; you can use ofKind() to check which type of request it is. For example, for an HTTP request, this will be an object of class HTTPRequest.

`evType` OVERRIDDEN | `tadsnet.t[88]`

no description available

Methods

`construct (t, req)`OVERRIDDEN | `tadsnet.t[82]`

construction

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2