mirror of
https://github.com/robertwayne/axum-htmx
synced 2025-12-18 13:45:17 +01:00
Remove Uri from responders - replace with String (#32)
* remove `Uri` from responders - replace with `String` * clean clippy warnings
This commit is contained in:
parent
8e4e2126ba
commit
4eae8b3fe2
3 changed files with 39 additions and 102 deletions
|
|
@ -65,11 +65,11 @@ any of your responses.
|
|||
|
||||
| Header | Responder | Value |
|
||||
|---------------------------|---------------------|-------------------------------------|
|
||||
| `HX-Location` | `HxLocation` | `axum::http::Uri` |
|
||||
| `HX-Push-Url` | `HxPushUrl` | `axum::http::Uri` |
|
||||
| `HX-Redirect` | `HxRedirect` | `axum::http::Uri` |
|
||||
| `HX-Location` | `HxLocation` | `String` |
|
||||
| `HX-Push-Url` | `HxPushUrl` | `String` |
|
||||
| `HX-Redirect` | `HxRedirect` | `String` |
|
||||
| `HX-Refresh` | `HxRefresh` | `bool` |
|
||||
| `HX-Replace-Url` | `HxReplaceUrl` | `axum::http::Uri` |
|
||||
| `HX-Replace-Url` | `HxReplaceUrl` | `String` |
|
||||
| `HX-Reswap` | `HxReswap` | `axum_htmx::responders::SwapOption` |
|
||||
| `HX-Retarget` | `HxRetarget` | `String` |
|
||||
| `HX-Reselect` | `HxReselect` | `String` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue