ResourceProviderCallback typedef
Serves a network request in place of the library.
Answer with ResourceRequestHandle.complete(), or hand the request back to
the library with ResourceRequestHandle.passThrough(). Either can come now
or later, from any thread. A request released without an answer fails.
See mln_resource_provider_callback in the
C API reference.
Implementation
typedef ResourceProviderCallback =
void Function(ResourceRequestInfo request, ResourceRequestHandle handle);