LoadImageTaskHttp

class kanzi::connect::LoadImageTaskHttp : public LoadImageTask

A resource loading task that can be used to retrieve an image from the network using HTTP or HTTPS.

Public Functions

explicit LoadImageTaskHttp(const string &url, Domain *domain)

Constructor.

Parameters
  • url – HTTP URL of the resource.

  • domain – Kanzi UI Domain.

virtual ~LoadImageTaskHttp() = default

dtor

virtual void loadFunction (const KzuResourceLoaderThreadContext *context) KZ_OVERRIDE

A function that performs the resource loading.

Parameters

context – Thread context, unused.