NetReplyEventclass | tadsnet.t[112] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
class
NetReplyEvent : NetEvent
NetReplyEvent
NetEvent
object
evType
httpStatusLine
redirectLoc
replyBody
replyHeaders
replyHeadersRaw
requestID
statusCode
Inherited from NetEvent
:
evArgs
evType OVERRIDDEN | tadsnet.t[164] |
httpStatusLine | tadsnet.t[211] |
redirectLoc | tadsnet.t[234] |
replyBody | tadsnet.t[202] |
replyHeaders | tadsnet.t[208] |
replyHeadersRaw | tadsnet.t[218] |
requestID | tadsnet.t[171] |
statusCode | tadsnet.t[199] |
-1 - out of memory
-2 - couldn't connect to host
-3 - other network/socket error
-4 - invalid parameters
-5 - error reading the content data to send to the server
-6 - error saving the reply data received from the server
-7 - error retrieving reply headers
-8 - error starting background thread
-100 - other TADS/network error
A positive value means that the network transaction itself was successful, and reflects the status information returned by the network server that handled the request. This must be interpreted according to the protocol used to send the request:
- For HTTP requests, the value is an HTTP status code. A code in the 200 range generally indicates success, while other ranges generally indicate errors.
construct (t, id, status, body, headers, loc) OVERRIDDEN | tadsnet.t[114] |