mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-11-24 04:12:50 +01:00
Update README.md
This commit is contained in:
parent
9427a65244
commit
35f86927e7
1 changed files with 13 additions and 13 deletions
|
@ -39,7 +39,7 @@ 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.
|
present, the extractor will return `None` or `false` in most cases.
|
||||||
|
|
||||||
| Header | Extractor | Value |
|
| Header | Extractor | Value |
|
||||||
| --- | --- | --- |
|
|------------------------------|---------------------------|------------------|
|
||||||
| `HX-Boosted` | `HxBoosted` | `bool` |
|
| `HX-Boosted` | `HxBoosted` | `bool` |
|
||||||
| `HX-Current-URL` | `HxCurrentUrl` | `Option<String>` |
|
| `HX-Current-URL` | `HxCurrentUrl` | `Option<String>` |
|
||||||
| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` |
|
| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` |
|
||||||
|
@ -109,8 +109,8 @@ fn protected_router() -> Router {
|
||||||
|
|
||||||
<!-- markdownlint-disable -->
|
<!-- markdownlint-disable -->
|
||||||
| Flag | Default | Description | Dependencies |
|
| Flag | Default | Description | Dependencies |
|
||||||
|-|-|-|-|
|
|----------|----------|----------------------------|---------------------------------------------|
|
||||||
| `guards`| Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` |
|
| `guards` | Disabled | Adds request guard layers. | `tower`, `futures-core`, `pin-project-lite` |
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-enable -->
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
Loading…
Reference in a new issue