executeRequest

abstract fun executeRequest(httpRequest: HttpResponder, nativePtr: Long, resourceUrl: String, etag: String, modified: String, offlineUsage: Boolean)

Executes the request.

Parameters

httpRequest

callback to be invoked when we receive a response

nativePtr

the pointer associated to the request

resourceUrl

the resource url to download

etag

http header, identifier for a specific version of a resource

modified

http header, used to determine if a resource hasn't been modified since

offlineUsage

flag to indicate a resource will be used for offline, appends offline=true as a query parameter