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
3859d9beb6
commit
b9261c0988
1 changed files with 23 additions and 23 deletions
|
@ -47,9 +47,9 @@ the extractor will return `None` or `false` dependant on the expected return
|
||||||
type.
|
type.
|
||||||
|
|
||||||
| 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<axum::http::Uri>` |
|
||||||
| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` |
|
| `HX-History-Restore-Request` | `HxHistoryRestoreRequest` | `bool` |
|
||||||
| `HX-Prompt` | `HxPrompt` | `Option<String>` |
|
| `HX-Prompt` | `HxPrompt` | `Option<String>` |
|
||||||
| `HX-Request` | `HxRequest` | `bool` |
|
| `HX-Request` | `HxRequest` | `bool` |
|
||||||
|
@ -65,7 +65,7 @@ have a supported responder. A responder is a basic type that implements
|
||||||
any of your responses.
|
any of your responses.
|
||||||
|
|
||||||
| Header | Responder | Value |
|
| Header | Responder | Value |
|
||||||
|---------------------------|--------------------------------|------------------------------------------|
|
|---------------------------|---------------------|-------------------------------------|
|
||||||
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
|
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
|
||||||
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
|
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
|
||||||
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
|
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
|
||||||
|
|
Loading…
Reference in a new issue