zio.http.htmx.headers

Members list

Type members

Classlikes

final case class HxBoosted(enabled: Boolean) extends Header

Typed HX-Boosted request header.

Typed HX-Boosted request header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxBoosted extends Typed[HxBoosted]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxBoosted]
trait Codec[HxBoosted]
class Object
trait Matchable
class Any
Show all
Self type
HxBoosted.type
final case class HxCurrentUrl(value: String) extends Header

Typed HX-Current-URL request header.

Typed HX-Current-URL request header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxCurrentUrl extends Typed[HxCurrentUrl]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
trait
Source
HtmxHeaders.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait HxEventPayload extends Product, Serializable

Payload carried by HTMX response-trigger headers.

Payload carried by HTMX response-trigger headers.

Values can either be plain event names or JSON payloads that HTMX forwards to client-side listeners.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Event
class JsonValue
final case class HxHistoryRestoreRequest(enabled: Boolean) extends Header

Typed HX-History-Restore-Request request header.

Typed HX-History-Restore-Request request header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
object HxLocation extends Typed[HxLocation]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxLocation]
trait Codec[HxLocation]
class Object
trait Matchable
class Any
Show all
Self type
HxLocation.type
final case class HxLocation(value: Object) extends Header

Typed HX-Location response header.

Typed HX-Location response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class HxPrompt(value: String) extends Header

Typed HX-Prompt request header.

Typed HX-Prompt request header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxPrompt extends Typed[HxPrompt]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxPrompt]
trait Codec[HxPrompt]
class Object
trait Matchable
class Any
Show all
Self type
HxPrompt.type
final case class HxPushUrl(value: HxUrlUpdate) extends Header

Typed HX-Push-Url response header.

Typed HX-Push-Url response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxPushUrl extends Typed[HxPushUrl]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxPushUrl]
trait Codec[HxPushUrl]
class Object
trait Matchable
class Any
Show all
Self type
HxPushUrl.type
object HxRedirect extends Typed[HxRedirect]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxRedirect]
trait Codec[HxRedirect]
class Object
trait Matchable
class Any
Show all
Self type
HxRedirect.type
final case class HxRedirect(value: String) extends Header

Typed HX-Redirect response header.

Typed HX-Redirect response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class HxRefresh(enabled: Boolean) extends Header

Typed HX-Refresh response header.

Typed HX-Refresh response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxRefresh extends Typed[HxRefresh]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxRefresh]
trait Codec[HxRefresh]
class Object
trait Matchable
class Any
Show all
Self type
HxRefresh.type
object HxReplaceUrl extends Typed[HxReplaceUrl]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class HxReplaceUrl(value: HxUrlUpdate) extends Header

Typed HX-Replace-Url response header.

Typed HX-Replace-Url response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxRequest extends Typed[HxRequest]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxRequest]
trait Codec[HxRequest]
class Object
trait Matchable
class Any
Show all
Self type
HxRequest.type
final case class HxRequest(enabled: Boolean) extends Header

Typed HX-Request request header.

Typed HX-Request request header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxReselect extends Typed[HxReselect]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxReselect]
trait Codec[HxReselect]
class Object
trait Matchable
class Any
Show all
Self type
HxReselect.type
final case class HxReselect(value: CssSelector) extends Header

Typed HX-Reselect response header.

Typed HX-Reselect response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class HxReswap(value: HxSwap) extends Header

Typed HX-Reswap response header.

Typed HX-Reswap response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxReswap extends Typed[HxReswap]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxReswap]
trait Codec[HxReswap]
class Object
trait Matchable
class Any
Show all
Self type
HxReswap.type
object HxRetarget extends Typed[HxRetarget]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxRetarget]
trait Codec[HxRetarget]
class Object
trait Matchable
class Any
Show all
Self type
HxRetarget.type
final case class HxRetarget(value: CssSelector) extends Header

Typed HX-Retarget response header.

Typed HX-Retarget response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxTargetId extends Typed[HxTargetId]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
trait Typed[HxTargetId]
trait Codec[HxTargetId]
class Object
trait Matchable
class Any
Show all
Self type
HxTargetId.type
final case class HxTargetId(value: String) extends Header

Typed HX-Target request header carrying the target element id.

Typed HX-Target request header carrying the target element id.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class HxTriggerAfterSettle(value: HxEventPayload) extends Header

Typed HX-Trigger-After-Settle response header.

Typed HX-Trigger-After-Settle response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class HxTriggerAfterSwap(value: HxEventPayload) extends Header

Typed HX-Trigger-After-Swap response header.

Typed HX-Trigger-After-Swap response header.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class HxTriggerHeader(value: HxEventPayload) extends Header

Typed HX-Trigger response header.

Typed HX-Trigger response header.

This type is named HxTriggerHeader to avoid colliding with the attribute-DSL type zio.http.htmx.HxTrigger under wildcard imports.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class HxTriggerId(value: String) extends Header

Typed HX-Trigger request header carrying the triggering element id.

Typed HX-Trigger request header carrying the triggering element id.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
object HxTriggerId extends Typed[HxTriggerId]

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Source
HtmxHeaders.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class HxTriggerName(value: String) extends Header

Typed HX-Trigger-Name request header carrying the triggering input name.

Typed HX-Trigger-Name request header carrying the triggering input name.

Attributes

Companion
object
Source
HtmxHeaders.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all