13 Commits

Author SHA1 Message Date
Jacek Sieka
c0ecb42613
normalise nimble, update ci, unittest2 (#158) 2022-12-02 13:17:27 +01:00
Tanguy
4e9cc184ca
Fix newRng usage (#157) 2022-11-24 12:10:08 +01:00
jangko
5ccdaed0ad
add rng param to rpcWebsocketServer constructor 2022-07-27 09:46:36 +07:00
jangko
0fee4be2cc
implement hook to handle CORS and JWT auth
- fixes #138
- fixes #126
- fixes #38
2022-07-17 23:06:08 +07:00
Jordan Hrycaj
b80313bfed
Facilitate http code response on authentication failure (#134) 2022-04-07 08:34:10 +01:00
Jordan Hrycaj
d4ae2328d4
Add server Hook for authentication (#133)
why:
  JWT authentication needs that
2022-04-05 16:19:52 +01:00
Jacek Sieka
77c85a8876
fix missing logging import 2021-12-17 11:36:49 +01:00
jangko
b2417fc071
fix both ws rpc server and client due to websock breaking changes
- change recv() to recvMsg()
2021-08-05 14:54:36 +07:00
jangko
809172abe4
rename ws to websock 2021-06-29 11:51:05 +07:00
jangko
62becee070
rpcwsserver: allocate deflateFactory only if compression enabled 2021-06-25 16:41:58 +07:00
jangko
b9e9be8f19
use string.fromBytes to replace cast[string](bytes) 2021-06-24 06:52:32 +07:00
jangko
69e8be66fb
add compression support for websocket rpc server-client
fixes #62
2021-06-24 06:52:31 +07:00
jangko
c6be913c69
implement json rpc websocket server
- both ws and wss mode

fixes #76
2021-06-23 18:44:33 +07:00