Age | Commit message (Collapse) | Author |
|
when using api_latency during the websocket heartbeat jitter, it will
report 0.00. this resolves that by using the READY event by measuring
time from ident send
additionally, remove headers curl slist free since it would also free
the overarching slist, which isnt created by us. we can dirty it but i
would rather free it in the context that created it so its obvious that
its Not A Memory Leak:tm:
|
|
additionally, edit ping to use new abstractions and command declaration
facilities. TODO: move interaction create event to somewhere else. this
spot isnt too good for it.
|
|
|
|
|
|
|
|
Move HELLO IDENT functionality into util/net
Add ready event in example/hello, grab app id and print info
Change http_request family of functions
- Remove bufsiz for response code
- Remove post input pipe in exchange for simple writebuf
Add heartbeat latency ack tracking
Add websocket handle close function (dummy function, to be extended
upon)
Add message for invalid token
|
|
|
|
mainly for early building process
net: make curl ws_handle non-static
|
|
|
|
in subsys.h: include init.h to ensure l5_initcall availability
also: add example/ directory to provide some user-code in the skeleton
(will likely be made defunct as i make the remainder of the skeleton,
such as a /ping command and user action and maybe some buttons, which
will require more organisation)
|
|
since this project is a skeleton and not meant to clutter up the code
that will actually consume the bot, i've opted to consolidate the
majority of files under a single directory and minimise extra files
*: move code to util/
*: move include files to include/dbs/
net: consolidate net functions into single file
config: remove config
|