htmx-servant-0.2.0.1: Use htmx with servant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Htmx.Servant.Request

Description

Synopsis

Documentation

type HXBoosted = Header "HX-Boosted" Bool Source #

indicates that the request is via an element using hx-boost

type HXCurrentURL = Header "HX-Current-URL" Text Source #

the current URL of the browser

type HXHistoryRestoreRequest = Header "HX-History-Restore-Request" Bool Source #

“true” if the request is for history restoration after a miss in the local history cache

type HXPrompt a = Header "HX-Prompt" a Source #

the user response to an hx-prompt

type HXRequest = Header "HX-Request" Bool Source #

always “true”

type HXTarget = Header "HX-Target" Text Source #

the id of the target element if it exists

type HXTriggerName = Header "HX-Trigger-Name" Text Source #

the name of the triggered element if it exists

type HXTrigger = Header "HX-Trigger" Text Source #

the id of the triggered element if it exists