26 Commits

Author SHA1 Message Date
rmanach
b07d4e7e0e fix documentation + update http lib version 2023-02-16 15:43:11 +01:00
734ec7901d add a message module holding struct to manager json response body + fix tests 2023-02-16 11:29:21 +00:00
881bd2e24d update http lib + remove utils mod + remove lib prefix when calling functions 2023-02-15 16:59:28 +00:00
bfd539731d use full http lib + remove all http crate dependency 2023-02-15 16:42:02 +00:00
48fc5ce213 add http lib and remove http request mod 2023-02-15 14:45:58 +00:00
45c9112af2 improv: add a logger (#18) + log client IP (#19) 2022-11-07 10:28:58 +00:00
b73add00c5 feat: #13 impl the JWT validation + some fixes 2022-10-14 14:45:03 +00:00
baa8595a4a fix doc + set route target in const 2022-10-14 10:45:32 +00:00
7336933642 bug: #15 fix fragmented TCPStream + spawn a tokio task on each connection 2022-10-14 10:37:40 +00:00
6166310283 refactor GET handler + impl JWTSigner 2022-10-13 16:06:27 +00:00
7073a4b88e improve HTTPResponse to include custom HTTPMessage 2022-10-13 12:20:30 +00:00
88c2e99aa8 move Config into its own module
cargo-fmt
2022-10-13 08:57:57 +00:00
55d524ea1b feat: #11 impl config (#9) + set JWT with asymmetric signatures 2022-10-12 14:51:24 +00:00
53b5c7a65f feat: #12 impl router for get target + clean the code 2022-10-07 15:57:51 +00:00
df38268566 feat: #12 start impl router 2022-10-06 16:51:51 +00:00
495d57c403 feat: #12 remove rename handlers mod into http 2022-10-06 15:40:35 +00:00
13b515c9c7 #8 update the doc 2022-10-03 15:34:37 +00:00
384e868501 #8 return a 403 if credentials are invalid + adjust corresponding test 2022-10-03 15:09:44 +00:00
8bf503df14 feat: #8 impl a credentials store 2022-09-29 14:25:38 +00:00
2c7418f333 feat: #2 impl an HTTPResponse + update tests 2022-09-20 09:07:23 +00:00
35cc483774 remove debug print + add print when server is ready 2022-09-19 15:20:04 +00:00
617c084782 improv: #5 handle the request and return a response (useful for tests) 2022-09-19 10:51:30 +01:00
0a76efdc64 improv: #5 use tokio crate to handle incoming conn async 2022-09-15 18:10:10 +01:00
3afe437143 feat: #1 add HTTPStartLine struct to parse request start line + some fixes 2022-09-09 11:08:35 +01:00
81d9b0f38d add a request handler 2022-09-08 10:45:58 +01:00
f7a7cddde5 init repository 2022-09-08 08:42:26 +01:00