Matt McCoy
b8002d1fb8
Adding TODO for make sure the client can read the response correctly
2016-06-21 15:49:28 -04:00
Matt McCoy
b243f1ab5a
Removing uneeded return statement
2016-06-21 15:48:14 -04:00
Matt McCoy
fb89e4a50a
Changing IMAPMailbox to Mailbox
2016-06-21 15:46:43 -04:00
Matt McCoy
7f92a1429e
Fixing some formatting of code
2016-06-21 15:41:46 -04:00
Matt McCoy
2e05110ba2
Adding INITIAL_TAG to test code
2016-06-21 15:21:06 -04:00
Matt McCoy
59bee5bd42
Adding mock stream to its own file
2016-06-21 14:51:08 -04:00
Matt McCoy
b25a2c4215
Adding base testing work
2016-06-21 14:15:16 -04:00
Matt McCoy
f4954de642
Renaming TCPStream to Client
2016-06-21 13:52:20 -04:00
Matt McCoy
d949de3d0b
Adding comments for connection functions
2016-06-21 13:34:39 -04:00
Matt McCoy
78f22be622
Fix initial tag tyype and remove regex creation checks
2016-06-21 13:32:13 -04:00
Matt McCoy
8981a03870
Initial step of making client testable with generics
2016-06-21 12:29:16 -04:00
Matt McCoy
5b204cccb8
Adding expunge, check, and close commands
2016-06-15 21:26:17 -04:00
Matt McCoy
148356273c
Adding some comments for documentation
2016-06-15 19:38:37 -04:00
Matt McCoy
a3ee094a50
Fixing test
2016-06-15 12:16:10 -04:00
Matt McCoy
eee1ad355a
Simplify login using ToSocketAddrs
2016-06-05 19:41:36 -04:00
Miquel Ruiz
6816b922f0
Try connection instead of unwrapping
...
Return an error instead of panicking on connection errors, which allows to
handle the problem from the caller.
fixes #12
2016-06-05 13:05:26 +01:00
Julien Rolland
a3cb1c22d9
SslStream::new is deprecated
2015-11-23 21:59:54 +00:00
Artem
fbb4b23f75
Expose run_command
2015-11-05 13:43:52 +03:00
Chris J Arges
ceb4ae6993
Allow connect to take both &str and String
...
It would be useful to allow a String to be passed to connect instead of just
a &'static str. This code makes 'host' a String type, but allows the function
to take either type.
2015-06-14 23:25:30 -05:00
Matt McCoy
298eac6598
Updating to compile for the most recent version of rust
2015-06-07 00:59:53 -04:00
Matt McCoy
95e6676055
Initial Commit
2015-04-15 16:23:58 -04:00