60 Commits

Author SHA1 Message Date
62a7cc66bc Allow event ids from clients 2022-08-27 22:33:40 +02:00
d9672bdac0 Add unsubscribe endpoint 2022-08-27 22:13:19 +02:00
97ae71d553 Add action to output envelope 2022-08-27 18:19:29 +02:00
d94daa2c93 Fix WebSocket connection closes 2022-08-27 17:39:19 +02:00
f3c940a96c Fix event subscription envelopes 2022-08-27 03:00:22 +02:00
f2cdbe0638 Update crates and change to UUID 2022-08-18 21:24:16 +02:00
9227cdef9a Fix subscription 2021-06-06 19:29:43 +02:00
31092c4a24 Reworked subscriptions 2021-06-05 15:40:13 +02:00
01e9b9c6ae cargo fmt 2021-06-05 14:29:09 +02:00
473b553662 Subscriptions working 2021-06-05 14:17:23 +02:00
a96cbdc059 WebSockets and tokio working 2021-06-04 15:23:01 +02:00
1427443caf Sessions working 2021-05-24 22:49:43 +02:00
2fbb200dd2 Updated create.sql 2021-05-24 19:30:05 +02:00
3314144ee1 Introduced ClientProtocolError 2021-05-24 13:33:10 +02:00
e12f39aee9 Add db/00.create.sql 2021-05-22 22:36:54 +02:00
78774909fc Subscription working (ish) 2021-05-22 22:36:13 +02:00
baec902243 [WIP] authenticate working 2021-05-22 20:24:44 +02:00
faa8c8e0a5 usimp websocket things 2021-05-22 16:26:48 +02:00
0e9caa496f bit cleaner websocket implementation 2021-05-22 15:51:24 +02:00
3867435a2d WebSocket Firefox 2021-05-22 14:24:42 +02:00
3aef8956dd Keep alive implementation 2021-05-22 12:06:56 +02:00
f2a6a5af4e Refactoring 2021-05-22 10:58:47 +02:00
912f2f0bf3 Add webocket frame header 2021-05-21 23:07:20 +02:00
f1244b4b56 Fix cargo fmt error? 2021-05-21 22:26:37 +02:00
80aaed0cae Refactored websocket 2021-05-21 22:15:59 +02:00
843f11459b Implemented WebSocket handshake 2021-05-20 21:49:42 +02:00
2f67518546 Add ACAO header 2021-05-20 21:12:15 +02:00
899f035629 find_header returns &str 2021-05-20 21:08:44 +02:00
89dba89b55 Cleanup 2021-05-20 20:47:21 +02:00
3ac416daa9 small fix 2021-05-20 20:22:05 +02:00
2dc783bf66 Fix http::tests 2021-05-20 20:20:29 +02:00
fb4a78f23f Reworked http 2021-05-20 20:15:06 +02:00
2699ddc5f8 Ran cargo fmt 2021-05-20 20:00:54 +02:00
b77c863065 Some more error handling 2021-05-20 20:00:14 +02:00
813660c022 Fix formatting 2021-05-19 21:56:54 +02:00
29f9853cb0 Added ready message 2021-05-19 20:14:38 +02:00
e5b77edeae bit better error handling 2021-05-19 20:13:00 +02:00
204fe4d942 Changed threadpool to rusty_pool for a dynamic thread pool 2021-05-19 19:48:44 +02:00
806054144a Basic errors 2021-05-18 21:14:20 +02:00
7a5eea3f85 UPdated http::Stream 2021-05-18 20:03:39 +02:00
ed0ad39abd Updated error messgae 2021-05-18 19:29:42 +02:00
ab40248d48 Using serde_json 2021-05-18 19:24:33 +02:00
d25e039751 Refactored database handling 2021-05-18 18:44:17 +02:00
a89068047b Removed Cargo.lock from git 2021-05-18 18:34:54 +02:00
1c29a865aa Database pool working 2021-05-17 22:49:43 +02:00
338e1c060e Add Cache-Control header 2021-05-16 19:25:37 +02:00
9e7832c152 Set Date and Server headers at beginning 2021-05-16 19:25:23 +02:00
2366f34be1 Add flate2 crate 2021-05-16 19:16:47 +02:00
39b9b6aa9e Some error handling 2021-05-16 19:16:20 +02:00
124ff2ef94 Echo/reply working 2021-05-16 17:28:14 +02:00