I want to do a HTTP request asynchronously by using the
After the async call has completed, you can get the result by calling the CkHttpResponse_LoadTaskResult function.
BOOL CkHttpResponse_LoadTaskResult(HCkHttpResponse cHandle, HCkTask task);
You would instantiate a new/empty HTTP response object, then load it with the task result, like this:
HCkHttpResponse response = CkHttpResponse_Create(); BOOL success = CkHttpResponse_LoadTaskResult(response, task);
For any asynchronous Chilkat method that returns a Chilkat object (of type T), there will be a corresponding T::LoadTaskResult method. Given that "C" is not object-oriented, it is a function using object handles.
answered Nov 06 '15 at 12:07