mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-29 22:54:32 +01:00
Update README.md
This commit is contained in:
parent
a753da22fa
commit
070fb069a6
1 changed files with 4 additions and 3 deletions
|
@ -34,9 +34,10 @@ axum-htmx = { git = "https://github.com/robertwayne/axum-htmx" }
|
||||||
## Extractors
|
## Extractors
|
||||||
|
|
||||||
All of the [htmx request headers](https://htmx.org/reference/#request_headers)
|
All of the [htmx request headers](https://htmx.org/reference/#request_headers)
|
||||||
have a supported extractor. Additionally, all extractors are infallible, meaning
|
have a supported extractor. Extractors are infallible, meaning they will always
|
||||||
they will always succeed and never return an error. If the header is not
|
succeed and never return an error. In the case where a header is not present,
|
||||||
present, the extractor will return `None` or `false` in most cases.
|
the extractor will return `None` or `false` dependant on the expected return
|
||||||
|
type.
|
||||||
|
|
||||||
| Header | Extractor | Value |
|
| Header | Extractor | Value |
|
||||||
|------------------------------|---------------------------|------------------|
|
|------------------------------|---------------------------|------------------|
|
||||||
|
|
Loading…
Reference in a new issue