summaryrefslogtreecommitdiffstats
path: root/src/client.rs
Commit message (Collapse)AuthorAgeFilesLines
* move debug output into the libraryJesse Luehrs2014-09-101-3/+20
|
* basic implementation of reply callbacksJesse Luehrs2014-09-101-50/+334
|
* use slices instead of vectors in the apiJesse Luehrs2014-09-101-28/+39
|
* client functions for all of the client commandsJesse Luehrs2014-09-101-13/+285
|
* also only read 512 bytes when reading messagesJesse Luehrs2014-09-101-8/+16
|
* limit messages to 512 bytesJesse Luehrs2014-09-091-0/+3
| | | | | still need to avoid actually reading in bytes past 512 in an incoming message
* add callbacks for on_command and on_replyJesse Luehrs2014-09-091-0/+10
|
* the default PING implementation should reply with PONGJesse Luehrs2014-09-091-1/+7
|
* more error handlingJesse Luehrs2014-09-091-6/+26
|
* propagate a few more errorsJesse Luehrs2014-09-091-67/+79
|
* move callbacks out to their own traitJesse Luehrs2014-09-091-172/+194
| | | | | this reduces the amount of things users have to worry about reimplementing, since we don't have associated items yet
* fix a warningJesse Luehrs2014-09-091-1/+1
|
* add callbacks for all messagesJesse Luehrs2014-09-091-7/+692
| | | | | 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-3/+3
|
* start moving things into callbacksJesse Luehrs2014-09-081-47/+56
|
* move the client implementation to a traitJesse Luehrs2014-09-081-33/+22
| | | | this will allow us to more easily allow adding hooks
* 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-0/+12
|
* better default for hostnameJesse Luehrs2014-09-061-8/+29
|
* connect should consume the clientbuilderJesse Luehrs2014-09-041-21/+20
| | | | this way we can handle callbacks, which may not be cloneable or whatever
* no need to separate commands and replies as typesJesse Luehrs2014-09-041-16/+4
| | | | it just clutters things
* no reason for these extra & hereJesse Luehrs2014-09-041-3/+3
|
* send the pass too if setJesse Luehrs2014-09-041-1/+15
|
* allow setting the user's hostname tooJesse Luehrs2014-09-041-6/+23
| | | | | eventually we should default this to something more sensible than "localhost"
* this should use the host we're connecting toJesse Luehrs2014-09-041-1/+1
|
* move connection initialization into the clientJesse Luehrs2014-09-041-24/+70
|
* add support for writing irc messagesJesse Luehrs2014-09-031-0/+9
|
* start working on an irc client classJesse Luehrs2014-09-031-0/+42