summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* turn the client example into a simple karma botHEADmasterJesse Luehrs2014-09-101-2/+46
|
* move debug output into the libraryJesse Luehrs2014-09-101-7/+2
|
* the default PING implementation should reply with PONGJesse Luehrs2014-09-091-10/+0
|
* propagate a few more errorsJesse Luehrs2014-09-091-3/+6
|
* move callbacks out to their own traitJesse Luehrs2014-09-091-29/+6
| | | | | this reduces the amount of things users have to worry about reimplementing, since we don't have associated items yet
* add callbacks for all messagesJesse Luehrs2014-09-091-8/+10
| | | | | i'm not sure that all of these callbacks (or parameters) are valid for clients, but they're all there for now for completeness
* pass &Message around, since Message isn't copyableJesse Luehrs2014-09-081-1/+1
|
* start moving things into callbacksJesse Luehrs2014-09-081-8/+14
|
* also provide a method to get a String outJesse Luehrs2014-09-081-1/+1
| | | | not using this as the default ToStr because it's less easy to read
* move the client implementation to a traitJesse Luehrs2014-09-081-1/+24
| | | | this will allow us to more easily allow adding hooks
* simplifyJesse Luehrs2014-09-061-2/+2
|
* have the example client respond to PING commandsJesse Luehrs2014-09-061-1/+9
|
* pass in the client to callbacksJesse Luehrs2014-09-061-2/+3
| | | | | this requires run_loop_with to consume the client, since we need to be able to pass it in mutably. i think that is probably okay.
* add a basic runloopJesse Luehrs2014-09-061-5/+3
|
* move connection initialization into the clientJesse Luehrs2014-09-041-24/+1
|
* write some login messages on connect in the exampleJesse Luehrs2014-09-031-0/+23
|
* simple client testJesse Luehrs2014-09-031-0/+10