Commit graph

30 commits

Author SHA1 Message Date
David Pedersen
0e38037c74 More error handling 2021-06-01 00:37:07 +02:00
David Pedersen
18f613ff98 This changes everything 2021-05-31 22:54:21 +02:00
David Pedersen
19cbece1dc Rename error type 2021-05-31 20:53:03 +02:00
David Pedersen
d33be9683c Don't force handlers to return Results 2021-05-31 20:42:57 +02:00
David Pedersen
6f5b2708d5 A few more changes 2021-05-31 16:32:56 +02:00
David Pedersen
a69ba56ebe Small clarification 2021-05-31 16:30:07 +02:00
David Pedersen
f6b1a6f435 More work 2021-05-31 16:28:26 +02:00
David Pedersen
867dd8012c Add some more tests 2021-05-31 14:04:05 +02:00
David Pedersen
11843addf6 Just use async_trait for FromRequest 2021-05-31 12:55:39 +02:00
David Pedersen
593c901aab Start writing more tests 2021-05-31 12:22:16 +02:00
David Pedersen
6822766165 Add Html response type 2021-05-31 10:20:07 +02:00
David Pedersen
0b2f791bf4 Typed url param extractor 2021-05-30 16:53:39 +02:00
David Pedersen
03fb15e7a7 Changes to UrlParamsMap 2021-05-30 16:37:27 +02:00
David Pedersen
763d4e8d21 Routing with dynamic parts! 2021-05-30 15:44:26 +02:00
David Pedersen
7328127a3d Add example 2021-05-30 14:33:36 +02:00
David Pedersen
f4268471b6 Break things into modules 2021-05-30 13:24:03 +02:00
David Pedersen
e1fa8d4fed Add some more todos 2021-05-30 12:30:52 +02:00
David Pedersen
433b3183c4 Generic response types 2021-05-30 12:26:58 +02:00
David Pedersen
bf3d4f4a40 generic body almost kinda works 2021-05-30 11:56:13 +02:00
David Pedersen
10b38b5421 more todos 2021-05-30 11:27:26 +02:00
David Pedersen
f08b73f7b2 Seal Handler trait 2021-05-30 11:19:36 +02:00
David Pedersen
2e16842431 Add extension extractor 2021-05-30 11:07:56 +02:00
David Pedersen
b763eaa037 Fix layer support 2021-05-30 04:28:24 +02:00
David Pedersen
f983b37fea Support routing to tower services 2021-05-30 03:12:47 +02:00
David Pedersen
433128102b More flexible error types 2021-05-30 02:29:41 +02:00
David Pedersen
a04c98dd42 Support any type of response body 2021-05-30 01:57:01 +02:00
David Pedersen
5efa7ab7ea More flexible handlers 2021-05-30 01:35:17 +02:00
David Pedersen
0513b56faf better readiness handling and less boxing 2021-05-30 01:11:18 +02:00
David Pedersen
33f2e5f661 A bit of clean up 2021-05-30 00:52:04 +02:00
David Pedersen
07294378b3 Initial pile of hacks 2021-05-29 21:13:06 +02:00