PsychichHTTP v2-dev

This commit is contained in:
iranl
2024-12-30 14:37:09 +01:00
parent 2cf5201285
commit 78459c2d08
118 changed files with 5453 additions and 4972 deletions

View File

@@ -0,0 +1,30 @@
# PsychicHandler
- [x] create addMiddleware()
- [x] create runMiddleware()
- [ ] move all the handler::canHandle() stuff into filter();
- [ ] canHandle should be declared static
# PsychicEndpoint
- [ ] convert setAuthentication() to add AuthMiddleware instead.
## PsychicHttpServer
- [ ] add _chain
- [ ] create addMiddleware()
- [ ] create runMiddleware()
- [ ] create removeMiddleware(name)
- [ ] _filters -> _middleware
- [ ] destructor / cleanup
# PsychicRequest
- [ ] add _response pointer to PsychicRequest, created in constructor
- [ ] request->beginReply() should return existing _response pointer
- [ ] requestAuthentication() -> should move to response?
# PsychicResponse
- how do we have extended classes when we have a pre-declared base PsychicResponse object?
- the delegation style is really ugly and causes problems with inheritance