backtalk
backtalk copied to clipboard
Misc task list
- [ ] should adapters accept a serializable object instead? Wait for default types in Rust maybe.
- [ ] make
Senderbe able to resend missed messages with the LastId header or whatever it's called - [ ] server should maybe double check that the request is valid?
- [ ] better and faster routing than hash matching
- [ ] is_eventsource in server should only work for GET? 403 otherwise? better spec compliance
- [ ] combine std_error throughout into one function
- [ ] better and actually spec compliant Accept header matching, should throw error if can't return either eventsource or json
- [ ] add
routetoServerfor a Req->Resp closure that doesn't bind to all the additional other URLs? - [ ] namespacing, so you can mount at
company/<comp_id>/messagesand havecomp_idbecome part of the params object, maybe underparams.path.comp_id - [ ] multithreaded servers, refine performance — see https://blog.guillaume-gomez.fr/articles/2017-02-22+Rust+asynchronous+HTTP+server+with+tokio+and+hyper