-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial refactoring of the WebsocketClient.
Renamed the method making the `binding` to a http server socket to be called `bind`. Fix for potential memory leak + Codacy fixes. Reapplied coding-standards. Small changes. Updated the example to update every 20 seconds instead of 60. Better init and deinit of streams Added timeouts to keep the connection for longer periods. Reset the HttpConnection timeout on a new connect. - Don't send new HTTP request over the same TCP connection if is already started. - Make HttpConnection::reset to be extendable. This allows also the WebsocketClient to reset the connection. Use SSL by default Refactored the HttpClient and Connection to reuse code. Refactored the WebsocketConnection to be reused in server and client mode.
- Loading branch information
1 parent
5ce92d1
commit fdfca22
Showing
25 changed files
with
744 additions
and
1,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.