You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Oxpecker.Htmx/Headers.fs
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,12 @@ module HxRequestHeader =
38
38
/// `HX-PTag` — polling tag sent back to the server by the `hx-ptag` extension.
39
39
[<Literal>]
40
40
letPTag="HX-PTag"
41
-
/// `HX-Request-ID` — unique request/response correlation id sent by the `hx-ws` extension in the message headers (echoed back by the server).
41
+
/// `HX-Prompt` — the user's answer to the `hx-prompt` dialog, sent URI-encoded by the `hx-prompt` extension (decode it with `Uri.UnescapeDataString`).
42
42
[<Literal>]
43
-
letRequestId="HX-Request-ID"
43
+
letPrompt="HX-Prompt"
44
+
/// `HX-Last-Part-ID` — the `HX-Part-ID` of the last completed part, sent by the `hx-multipart` extension when reconnecting so the server can resume the stream.
45
+
[<Literal>]
46
+
letLastPartId="HX-Last-Part-ID"
44
47
45
48
[<RequireQualifiedAccess>]
46
49
moduleHxResponseHeader =
@@ -78,6 +81,6 @@ module HxResponseHeader =
78
81
/// `HX-PTag` — polling tag stored by the `hx-ptag` extension and echoed on the next request.
79
82
[<Literal>]
80
83
letPTag="HX-PTag"
81
-
/// `HX-Request-ID` — the request/response correlation id echoed back by the server so the `hx-ws` extension can route the response to the originating element.
84
+
/// `HX-Part-ID` — per-part identifier set on a `multipart/mixed` part by the server, remembered by the `hx-multipart` extension and sent back as `HX-Last-Part-ID` on reconnect.
0 commit comments