Class wwHttpAsync (deprecated)

Parent Class: timer

Allows downloading of HTTP data in the background. Event notifcation occurs on completion.



Based on: Custom
Stored in: wwIPStuff.vcx

Class Members

MemberDescription

navigatecomplete

Event that fires when the HTTP request is complete.

addpostkey

Allows adding a POST variables to the request. Post values in key value pairs.

o.addpostkey(tcKey, tcValue)

cancelrequest

Allows you to cancel a request that's running.

o.cancelrequest()

startrequest

This starts the HTTP request running asynchronously. When the request completes the NavigateComplete event fires.

o.startrequest()

cerrormsg

Error message when the HTTP request failed

clink

The link on the server to hit. This path is server relative.

cpassword

Password for Basic Authentication requests on the server.

cresultbuffer

After the request is complete cResultBuffer will contain the HTTP result.

cserver

cusername

Username for Basic Authentication requests on the server.

lbusy

Determines whether the request is still running.

lerror

Error flag set when an error occurs.

lsecure

Set to run the request in HTTPS/SSL mode.

nbuffersize

Size of the result buffer. Set this to 0 to allow any size buffer to be returned.

ntimeout

The timeout for the request in seconds. When timeout is up CancelRequest() is called.

oip

wwIPStuff object used to create connection and file access. You can use this object to set custom options prior to calling startrequest.


© West Wind Technologies, 2024 • Updated: 05/28/24
Comment or report problem with topic