Module request

Module request 

Source
Expand description

htmx request headers.

Structs§

HxBoosted
indicates that the request is via an element using hx-boost
HxCurrentUrl
the current URL of the browser
HxHistoryRestoreRequest
“true” if the request is for history restoration after a miss in the local history cache
HxPrompt
the user response to an hx-prompt
HxRequest
always “true”
HxTarget
the id of the target element if it exists
HxTrigger
the id of the triggered element if it exists
HxTriggerName
the name of the triggered element if it exists

Statics§

HX_BOOSTED
indicates that the request is via an element using hx-boost
HX_CURRENT_URL
the current URL of the browser
HX_HISTORY_RESTORE_REQUEST
“true” if the request is for history restoration after a miss in the local history cache
HX_PROMPT
the user response to an hx-prompt
HX_REQUEST
always “true”
HX_TARGET
the id of the target element if it exists
HX_TRIGGER
the id of the triggered element if it exists
HX_TRIGGER_NAME
the name of the triggered element if it exists