Package-level declarations

Types

Link copied to clipboard
@SerialInfo
@MetaSerializable
annotation class Resource(val path: String)

An annotation for classes that act as typed routes. All annotated types should be Serializable.

Link copied to clipboard
class Resources(configuration: Resources.Configuration)

Resources plugin instance.

Link copied to clipboard

Thrown when deserialization of the resource failed

Functions

Link copied to clipboard
inline fun <T> href(resourcesFormat: ResourcesFormat, resource: T): String
inline fun <T> href(resourcesFormat: ResourcesFormat, resource: T, urlBuilder: URLBuilder)

Constructs a URL for the resource.