Commit Graph

23 Commits

Author SHA1 Message Date
Ian Gulliver
c72f2ff30e Add resubscription after reconnect, with a test. 2015-06-18 04:11:13 +00:00
Ian Gulliver
4a6cb1f9bd Boom, real passing tests. 2015-06-15 03:26:41 +00:00
Ian Gulliver
a006375441 Polling and acks. 2015-06-15 02:27:03 +00:00
Ian Gulliver
e709514293 It's almost like real tests. 2015-06-14 21:41:43 +00:00
Ian Gulliver
8581ba7672 Start of a better C testing framework. 2015-06-14 21:28:01 +00:00
Ian Gulliver
d94b3d08ae Add passthrough pointer, better Makefile. 2015-06-10 19:50:26 -07:00
Ian Gulliver
8d9683a00c Callback framework, message callback. 2015-06-07 15:30:08 -07:00
Ian Gulliver
b257b23e8a Add cosmo_current_profile() 2015-06-06 15:32:13 -07:00
Ian Gulliver
897e13010d Standardize names, modulo style, with JS. 2015-06-06 14:59:08 -07:00
Ian Gulliver
b66b7cc083 Add cosmo_send_message() 2015-06-06 14:56:23 -07:00
Ian Gulliver
6fd030e0bc Move everything into cosmopolite.c 2015-06-06 14:43:40 -07:00
Ian Gulliver
db7f9bdd9b Move more curl opts to be global. 2015-06-06 14:34:03 -07:00
Ian Gulliver
d9e3bd727e Keep a curl instance around to re-use the connection. 2015-06-06 10:54:58 -07:00
Ian Gulliver
fffbf0f30c Start of a public header. 2015-06-06 10:44:46 -07:00
Ian Gulliver
f055809a22 Make URL a parameter. 2015-06-06 10:39:33 -07:00
Ian Gulliver
d596ff1444 Retry and backoff working properly. 2015-06-05 23:20:07 -07:00
Ian Gulliver
f8c40a65c5 Response parsing and RPC retries. 2015-06-03 22:45:07 -07:00
Ian Gulliver
28c1f9612c Actually send commands! 2015-06-03 22:24:07 -07:00
Ian Gulliver
c4ed549342 Move to condition variable communication. 2015-06-03 20:53:27 -07:00
Ian Gulliver
9e4cefb27e Simplified ownership. 2015-06-03 20:32:00 -07:00
Ian Gulliver
f5cff306de Start some sanity refactoring. 2015-06-03 20:15:31 -07:00
Ian Gulliver
872426aa78 Store and parse return values, partially handle errors. 2015-06-02 22:53:15 -07:00
Ian Gulliver
b2d595322c Start of C client library. 2015-06-02 22:21:28 -07:00