hx

fun Route.hx(configuration: HxRoute.() -> Unit): Route(source)

Scope child routes to apply when HX-Request header is supplied.

Report a problem


Provides typed access to the HTMX request headers of this request.

Report a problem


Provides typed access to the HTMX response headers that will be sent with this response.

Report a problem


Property for scoping routes to HTMX (e.g., hx.get { ... }

Report a problem