Commit graph

86 commits

Author SHA1 Message Date
badaix
c2488091fe rename some files from camel to snake case 2019-10-06 14:07:47 +02:00
badaix
72bd17cb20 configuration is stored in file snapserver.conf 2019-10-06 13:28:22 +02:00
badaix
fa508eafba add simple webserver
jsonrpc is available for HTTP post: http://<your-ip>:8080/jsonrpc
for websockets: ws://<your-ip>:8080/jsonrpc
2019-10-04 20:18:19 +02:00
badaix
6566235831 add HTTP and websocket support (preliminary) 2019-09-30 22:24:35 +02:00
badaix
8920e8c710 make control server more generic 2019-09-29 20:59:02 +02:00
badaix
49bc832870 first websocket draft, running on port 8080 2019-09-28 23:42:03 +02:00
badaix
ec3f8d8ad5 switch to boost::asio 2019-09-28 21:28:54 +02:00
badaix
08d0ce58f2 add dummy control session for websockets 2019-09-28 16:57:58 +02:00
badaix
45df7fdb42 control socket on the stack 2019-09-28 11:50:32 +02:00
badaix
1974afc176 switch from deprecated io_service to io_context 2019-09-28 10:53:58 +02:00
badaix
c4a61dff47 async control server 2019-09-28 10:43:11 +02:00
badaix
8b231c7cc6 modernize with clang-tidy 2019-09-25 19:02:33 +02:00
badaix
b20add3815 add clang-format file
reformat code
2019-09-24 22:42:36 +02:00
badaix
e7e529c818 update jsonrpc++ to v1.2.0 2018-07-01 20:51:18 +02:00
badaix
3ff49c81b2 add support for IPv4v6 and IPv4 + IPv6 2018-04-25 14:08:11 +02:00
badaix
a3f309e0da include jsonrpc++ into the project 2018-03-02 08:28:24 +01:00
badaix
44046821c1 update date in copyright 2018-02-19 20:04:28 +01:00
Jörg Krause
f28018ada7 Allow including installed jsonrpcpp from a system directory 2018-02-03 21:28:47 +01:00
badaix
1a51833f0e fix "Address family not supported" 2017-10-16 20:35:45 +02:00
badaix
b1edc34f6e fix crash on port scan 2017-10-09 18:35:19 +02:00
Mike Walters
5f06f70562 Support IPv6 in snapserver 2017-09-26 20:39:39 +02:00
badaix
0ea51d95f3 switch to AixLog 2017-09-16 16:53:37 +02:00
badaix
756453f9d2 update logger 2017-09-12 21:19:18 +02:00
badaix
ce55f15c02 update logger 2017-07-24 18:59:49 +02:00
Johannes Pohl
b56d656c32 fix server crash on control client disconnect (quit, exit, bye) 2017-06-06 22:45:28 +02:00
Johannes Pohl
df5f9bdeab proper shutdown of the ControlSession 2017-03-12 11:22:01 +01:00
badaix
fdb292edb4 2017 2017-02-04 11:56:40 +01:00
badaix
58025a912b switch to jsonrpc++ external lib 2017-01-30 21:35:14 +01:00
badaix
46bd85e4e5 fixed segfault 2016-07-03 21:47:59 +02:00
badaix
9561a8e92b use asio socket::native_handle instead of native 2016-04-08 08:24:50 +02:00
badaix
bd7f68bb6a removed request message 2016-04-06 00:34:41 +02:00
badaix
2a5e7fb598 less logging 2016-04-06 00:06:18 +02:00
badaix
5fae6e85f7 change stream with "SetStream (id)" 2016-02-03 22:34:52 +01:00
badaix
4c13254587 removed Ack & String message 2016-01-22 22:29:21 +01:00
badaix
4218bedd01 removed command message 2016-01-22 22:16:07 +01:00
badaix
fe89220b15 2016 2016-01-21 22:02:09 +01:00
badaix
506f179ed2 Don't send client update as Client.Set response 2016-01-07 20:12:22 +01:00
badaix
6e32da33f3 merged with master 2015-12-23 13:21:56 +01:00
badaix
6cffd2b86e v0.3.4 2015-12-23 08:21:39 +01:00
badaix
5cc7285a87 switched to standalone asio 2015-12-03 22:23:43 +01:00
badaix
84f9dd2d7a removed depency to boost lexical cast and boost algorithm 2015-12-03 21:55:11 +01:00
badaix
02ec52e765 renamed "add" to "sendAsync" 2015-12-03 21:54:22 +01:00
badaix
87ce37df8c clean up 2015-12-03 21:54:22 +01:00
badaix
817755a8b7 control and stream server use a central io_service 2015-12-03 21:54:21 +01:00
badaix
aeb767d64b moved json stuff into subfolder 2015-12-03 21:54:21 +01:00
badaix
bab4f92e23 Renamed ServerSession => ClientSession 2015-12-03 21:54:21 +01:00
badaix
50db49d269 StreamServer receives control events 2015-12-03 21:54:21 +01:00
badaix
e2230ea0aa changed json API to named params 2015-12-03 21:54:21 +01:00
badaix
707f198a26 config holds list of clients 2015-12-03 21:54:20 +01:00
badaix
79c98e9e10 added getter for parameters 2015-12-03 21:54:20 +01:00