Class
MaplibreNativeFfiResourceResponse
Description [src]
final class MaplibreNativeFfi.ResourceResponse : GObject.Object
{
/* No available fields */
}
The answer to a resource request.
A member that a has_ method reports on is unset until its property or
setter sets it.
See mln_resource_response in the
C API reference.
Constructors
maplibre_native_ffi_resource_response_new
Creates a MaplibreNativeFfiResourceResponse whose members are zero, empty, or unset.
Instance methods
maplibre_native_ffi_resource_response_get_error_message
Gets MaplibreNativeFfiResourceResponse:error-message.
maplibre_native_ffi_resource_response_get_error_reason
Gets MaplibreNativeFfiResourceResponse:error-reason.
maplibre_native_ffi_resource_response_get_expires_unix_ms
Gets MaplibreNativeFfiResourceResponse:expires-unix-ms.
maplibre_native_ffi_resource_response_get_modified_unix_ms
Gets MaplibreNativeFfiResourceResponse:modified-unix-ms.
maplibre_native_ffi_resource_response_get_must_revalidate
Gets MaplibreNativeFfiResourceResponse:must-revalidate.
maplibre_native_ffi_resource_response_get_retry_after_unix_ms
Gets MaplibreNativeFfiResourceResponse:retry-after-unix-ms.
maplibre_native_ffi_resource_response_has_expires_unix_ms
Whether MaplibreNativeFfiResourceResponse:expires-unix-ms is set.
maplibre_native_ffi_resource_response_has_modified_unix_ms
Whether MaplibreNativeFfiResourceResponse:modified-unix-ms is set.
maplibre_native_ffi_resource_response_has_retry_after_unix_ms
Whether MaplibreNativeFfiResourceResponse:retry-after-unix-ms is set.
maplibre_native_ffi_resource_response_set_error_message
Sets MaplibreNativeFfiResourceResponse:error-message.
maplibre_native_ffi_resource_response_set_error_reason
Sets MaplibreNativeFfiResourceResponse:error-reason.
maplibre_native_ffi_resource_response_set_expires_unix_ms
Sets MaplibreNativeFfiResourceResponse:expires-unix-ms.
maplibre_native_ffi_resource_response_set_modified_unix_ms
Sets MaplibreNativeFfiResourceResponse:modified-unix-ms.
maplibre_native_ffi_resource_response_set_must_revalidate
Sets MaplibreNativeFfiResourceResponse:must-revalidate.
maplibre_native_ffi_resource_response_set_retry_after_unix_ms
Sets MaplibreNativeFfiResourceResponse:retry-after-unix-ms.
Properties
MaplibreNativeFfi.ResourceResponse:bytes
The resource, for MAPLIBRE_NATIVE_FFI_RESOURCE_RESPONSE_STATUS_OK.
MaplibreNativeFfi.ResourceResponse:error-message
A description of the error, for
MAPLIBRE_NATIVE_FFI_RESOURCE_RESPONSE_STATUS_ERROR.
MaplibreNativeFfi.ResourceResponse:error-reason
Why the request failed, for
MAPLIBRE_NATIVE_FFI_RESOURCE_RESPONSE_STATUS_ERROR.
MaplibreNativeFfi.ResourceResponse:must-revalidate
Whether the library must request the resource again before it reuses this copy.
MaplibreNativeFfi.ResourceResponse:retry-after-unix-ms
When to retry, for MAPLIBRE_NATIVE_FFI_RESOURCE_RESPONSE_STATUS_ERROR.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.