Update README.md

This commit is contained in:
Rob Wagner 2023-08-08 20:21:36 -04:00
parent a753da22fa
commit 070fb069a6
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61

View file

@ -34,9 +34,10 @@ axum-htmx = { git = "https://github.com/robertwayne/axum-htmx" }
## Extractors
All of the [htmx request headers](https://htmx.org/reference/#request_headers)
have a supported extractor. Additionally, all extractors are infallible, meaning
they will always succeed and never return an error. If the header is not
present, the extractor will return `None` or `false` in most cases.
have a supported extractor. Extractors are infallible, meaning they will always
succeed and never return an error. In the case where a header is not present,
the extractor will return `None` or `false` dependant on the expected return
type.
| Header | Extractor | Value |
|------------------------------|---------------------------|------------------|