d442e73ed7
change: Remove the nonce cache limit
...
Don't pass the nonce cache limit everywhere, we allocate the hashmap capacity
with it, so we can use the hashmap capacity directly.
Also refactor the `NonceCache` type, make it better without extension trait.
Suggested-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-06 14:07:48 +03:00
c0d5efe0c3
feat: Initialize server websocket
...
Related-to: #2
Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-06 14:07:30 +03:00
cd2a9ea03e
feat: New extension trait for websocket online users
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-05 02:17:10 +03:00
6f43e44745
chore: Add new dependencies for websocket
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-05 02:16:10 +03:00
f69fa7f370
docs: Fix typos
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-04 16:42:09 +03:00
062e441d8a
feat: Create signature data if there is no request body
...
The signature data is `Method+uri path` if there is no request body
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-04 16:11:23 +03:00
e15c693421
chore: Returns nonce cache as Arc
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-03 13:11:16 +03:00
aeac22250e
chore: Add TwoDifferentKeys
error message
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-02 18:15:00 +03:00
b8e00c244a
chore: Use rustls instead of native-tls
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-01 11:30:57 +03:00
7e3558d776
chore: Initialize the project
...
Signed-off-by: Awiteb <a@4rs.nl>
2024-06-26 23:05:17 +03:00