NetReplyDoneEventclass | tadsnet.t[242]

Network Reply Done event. This type of event occurs when an asynchronous network reply (such as HTTPRequest.sendReplyAsync()) completes.

`class NetReplyDoneEvent : NetEvent`

Superclass Tree (in declaration order)

`NetReplyDoneEvent`
`NetEvent`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`errMsg evType requestObj socketErr`

Inherited from `NetEvent` :
`evArgs`

Summary of Methods

`construct isSuccessful`

``

Properties

`errMsg` | `tadsnet.t[276]`

Error message, if any. If the reply failed, this contains a string with a description of the error that occurred. If the reply was sent successfully, this is nil.

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

our default event type is NetEvReplyDone

`requestObj` | `tadsnet.t[259]`

The object representing the request we replied to. For HTTP requests, this is an HTTPRequest object.

`socketErr` | `tadsnet.t[269]`

The socket error, if any. If the reply failed due to a network error, this contains the error number. If no network error occurred, this is zero.

Methods

`construct (t, req, err, msg)`OVERRIDDEN | `tadsnet.t[244]`

construction

`isSuccessful ( )` | `tadsnet.t[262]`

was the reply successfully sent?

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