ResourceTransformRequestHandle

A URL rewrite that a resource transform answers with the URL to load.

See mln_resource_transform_request in the C API reference.

Properties

Link copied to clipboard
@get:JvmName(name = "getId")
val id: ULong

The native handle value. It stays readable after release.

Link copied to clipboard

Whether a release, dispose, or discard has ended the handle.

Functions

Link copied to clipboard
open override fun close()

Calls release, for the standard library's use.

Link copied to clipboard
fun complete(url: String)

Answers a resource transform request with the URL to load instead.

Link copied to clipboard

Fails a resource transform request without sending it.

Link copied to clipboard
fun release()

Releases a resource transform request.

Link copied to clipboard
open override fun toString(): String