fengzero
04675ec04c
fix(http): remove aio timeout
2022-08-05 09:32:42 +00:00
fengzero
5cece84ca9
fix(http): aio timeout
2022-07-19 07:28:11 +00:00
fengzero
a52b16c1dc
remove adapter/ndoe id
2022-06-15 06:14:51 +00:00
fengzero
203328dffd
copyright 2020-2022
2022-06-10 04:43:06 +00:00
eeff
68c91a9222
feat(http): add function url_decode and http_get_param_str
2022-05-20 17:44:00 +08:00
fengzero
82e061da4d
move header to include/neuron
2022-04-07 08:44:04 +00:00
fengzero
c1c17c1fd7
move adapter.h to neuron/
2022-04-07 08:02:51 +00:00
eeff
609e30ab38
Add helper function http_get_param_uint64
2022-03-03 13:22:33 +08:00
eeff
eb25ff64c1
Fix restful plugin http query parameter parsing.
...
Previously the function get_param used a static variable to store
parsed data which is not re-entrant, and thus cause bugs.
1. fix get_param and http_get_param to return pointer and len
2. Remove http_get_param_int
3. Add http_get_param_uintmax
4. Add http_get_param_uint32
5. add http_get_param_node_id
6. add http_get_param_node_type
2021-12-08 14:39:33 +08:00
lixiumei
253d346452
Add login and logout
2021-11-29 18:16:50 +08:00
fengzero
3ed6f842ec
refactor http error response
...
use the state of the adapter as the running state of the plugin
2021-11-24 14:49:21 +08:00
fengzero
2daa9f03e8
Add function test for tag, node state, node ctl and
...
subscribe/unsubscribe
2021-11-18 16:24:13 +08:00
fengzero
96940eb3be
add read/write api
...
support bit/int16/uint16/int32/uint32/float
2021-10-18 14:53:24 +08:00
fengzero
bb4ebdd75e
refactor api server, add datatag api
...
use different server process api and web
rename tags field
merge json read/write
2021-09-07 16:56:33 +08:00
fengzero
d204f8f633
refactor http api server
...
default response header
static var plugin
http request macro
2021-09-03 14:38:05 +08:00
fengzero
fb14067105
Add http response function
...
refactor handle response
2021-09-01 15:13:15 +08:00