Commit Graph

33 Commits

Author SHA1 Message Date
Tristan B. Kildaire 4f0681d3cb Set exception message (partial emssage) 2020-05-15 16:44:59 +02:00
Tristan B. Kildaire abe3609c72 Added status fied to payload being sent and todo to implement this. 2020-05-14 15:59:32 +02:00
Tristan B. Kildaire 8042a97f57 Changed authe 2020-05-14 15:57:22 +02:00
Tristan B. Kildaire f4d30b5100 Fixed protocol error. 2020-05-14 15:54:12 +02:00
Tristan B. Kildaire b775cf42f9 Fixed protocol 2020-05-14 14:48:46 +02:00
Tristan B. Kildaire c05f9f056a return true of successful authentication, false otherwise. 2020-05-14 14:38:22 +02:00
Tristan B. Kildaire 01da9011bb New auth mechanism 2020-05-14 14:29:53 +02:00
Tristan B. Kildaire eb0f045cd7 Added `send` function to send message. 2020-05-04 10:22:07 +02:00
Tristan B. Kildaire 7cd72269ef Added connectedness check and TODO for `send` function. 2020-05-03 16:17:23 +02:00
Tristan B. Kildaire e0ab7405dd Handle erroneous server address and port. 2020-05-03 15:02:38 +02:00
Tristan B. Kildaire e24ab85bc1 TODO added. 2020-05-03 14:13:29 +02:00
Tristan B. Kildaire 1de8b9d218 Refactored. 2020-05-03 14:05:12 +02:00
Tristan B. Kildaire 4c5683a94b Fixed compiler warning. 2020-05-03 13:47:16 +02:00
Tristan B. Kildaire 3ea26c707a Added status returns and error handling for `authenticate`. 2020-05-03 13:46:30 +02:00
Tristan B. Kildaire 15b2cffa68 Added error handling to `recieve`. 2020-05-03 13:37:07 +02:00
Tristan B. Kildaire 3c87878030 Check connectivity on attempt to close the connection in method `close`. 2020-05-03 13:12:15 +02:00
Tristan B. Kildaire b00f0aff10 Refactored connectedness check to its own function. 2020-05-03 13:10:46 +02:00
Tristan B. Kildaire 86012efa15 Throw exception on attempt to authenticate on an unconnected endpoint. 2020-05-03 12:41:38 +02:00
Tristan B. Kildaire 551a16edfc Added error handling mechanism to `connect` to reset `serverSocket` back to null on failure. 2020-05-03 12:40:31 +02:00
Tristan B. Kildaire 7a8d165c35 Merge branch 'master' of github.com:besterprotocol/libester 2020-05-02 22:01:09 +02:00
Tristan B. Kildaire 04b3016437 Added TODO> 2020-05-02 21:59:38 +02:00
Tristan B. Kildaire 907d811a7b Added `connetc` function to create socket and connect to server. 2020-05-02 21:56:24 +02:00
Tristan B. Kildaire ab5e116a2d Added missing fields to authentication function. 2020-05-02 21:53:44 +02:00
Tristan B. Kildaire 580d60a73d
Update README.md 2020-05-02 21:40:31 +02:00
Tristan B. Kildaire 6deaa55e1b
Create .travis.yml 2020-05-02 21:37:50 +02:00
Tristan B. Kildaire db26d55e23 Cleaned up. 2020-05-02 21:36:10 +02:00
Tristan B. Kildaire 37598fe239 Added authentication code. 2020-05-02 21:33:16 +02:00
Tristan B. Kildaire c011e7bdae Made library and removed entry point for application type. 2020-05-02 20:06:59 +02:00
Tristan B. Kildaire 20718fed5a Specify imports. 2020-05-02 20:06:12 +02:00
Tristan B. Kildaire 11ffb79f9a Working `bformat` dub package added. 2020-05-02 19:59:57 +02:00
Tristan B. Kildaire 145444da29 bformat package added. 2020-05-02 19:50:44 +02:00
Tristan B. Kildaire f7d8eb6d9a Added dub.json. 2020-05-02 19:08:12 +02:00
Tristan B. Kildaire acf11f1125
Initial commit 2020-05-02 18:48:45 +02:00