Commit Graph

9 Commits

Author SHA1 Message Date
Emi Tatsuo 05089bfea6
Redo Handler docs 2020-12-06 10:24:54 -05:00
Emi Tatsuo f98b94235a
Cranking out some docs
Not finished yet we've got so many docs to write.  It's doc writing time!
2020-12-05 14:09:16 -05:00
Emi Tatsuo 1068c00e55
Fix broken links in docs 2020-12-05 11:37:14 -05:00
Emii Tatsuo f922f8c70d
Merged Meta, Status, and ResponseHeader into Response 2020-12-01 16:36:29 -05:00
Emii Tatsuo 1766ab4c9c
Merge `Builder` and `Server` in the public API into one concept 2020-11-25 15:52:44 -05:00
Emi Tatsuo 13b1eddd00
Allow serving a single file 2020-11-24 17:28:54 -05:00
Emi Tatsuo 970813f295
Added FilesHandler 2020-11-24 17:22:47 -05:00
Emi Tatsuo c3d7381860
Added a static handler type. Impl AsRef<Body> for Response
im so tired i havent slept enough in so long but also i havent done any productive work like do you think im using this project as an excuse or like a bad coping mechanism for my mental health or something like that cause thats what its starting to feel like
2020-11-23 23:34:11 -05:00
Emi Tatsuo 7990739884
Move the handler type to it's own mod, change to an enum
The new enum can be converted to from anything that could previously be passed to
add_route, so this is not a breaking change.  If fact, from the end user's perspective,
nothing changed, but internally, this gives us a lot of potential as far as having
multiple types of routes.
2020-11-23 11:55:40 -05:00