Method

MaplibreNativeFfiResourceRequestpass_through

Declaration [src]

gboolean
maplibre_native_ffi_resource_request_pass_through (
  MaplibreNativeFfiResourceRequest* self
  GError** error
)

Description [src]

Hands a resource request back to the library to load as usual.

A failed call fails the request with MAPLIBRE_NATIVE_FFI_RESOURCE_ERROR_REASON_OTHER, as maplibre_native_ffi_resource_request_release() does.

See mln_resource_request_pass_through in the C API reference.

It fails with these errors:

  • MAPLIBRE_NATIVE_FFI_ERROR_INVALID_STATE when the library cancelled the request.

Return value

Type: gboolean

TRUE on success, or FALSE with error set.