21 Commits

Author SHA1 Message Date
ddfbbe5584 Fix README's examples to include headers as they are installed in a given system 2021-06-25 10:57:02 -07:00
c3bcc8f445 Fix README's SSL example 2021-06-25 10:54:49 -07:00
fred
12f1d7b0ce Fix broken examples 2019-05-04 00:07:43 +01:00
Fred Nicolson
322f53841b Removed SocketReactor. Switched SocketSelector implementation to EPOLL
Should result in better performance, although a Windows implementation is not yet ready.
2018-10-01 15:36:13 +01:00
Unknown
13f709aebb Added examples for a simple WebSocket client and Server.
Removed automatic ping pong response, and disconnection from fr::WebSocket, as it should be handled by the library user, really.

Updated ReadMe.
2018-03-03 16:02:17 +00:00
Fred Nicolson
ff25d11089 Removed socket mutexes. Added more tests. Improved examples.
Socket mutexes are no longer really required, and so have been removed.

Added more tests for network encoding functions, and the URL parser.

The URL parser now returns a path preceeded with a '/' instead of cutting it out. Added get_uri() to URL, for getting the whole URI, so users don't have to concat it themselves from the more specialised functions.

Fixed default socket connect timeout checking for the wrong value.

Fixed request_type_strings not containing all of the possible request types.

Fixed README using old socket close syntax.

Cleaned up the examples a bit.
2018-02-01 11:56:34 +00:00
Fred Nicolson
7bab41ed9b
Update README.md
For Connect timeouts
2018-01-10 19:14:43 +00:00
Fred Nicolson
e748fde121 API changes, and lots of fixes.
fr::HttpSocket has been removed.

fr::Sendable has been added. Classes can inherit this if they want to be sendable through sockets. Both fr::Http (which is inherited by fr::HttpRequest and fr::HttpResponse), and fr::Packet inherit this, to allow them to be sent through fr::Socket::send()/fr::Socket::receive().

Fixed broken fr::SocketSelector and fr::SocketReactor, as they no longer accepted fr::Listener's due to fr::Listener no longer inheriting fr::Socket.
2017-07-18 17:34:49 +01:00
Fred Nicolson
08ed4a2354 Update README.md 2017-06-05 13:36:09 +01:00
Unknown
128ebbd272 Updated readme to include Travis CI build status badge 2017-05-30 20:09:38 +01:00
Fred Nicolson
c110fb6c81 Updated ReadMe to be compatable with code changes and fixed typos
The SSLConect interface has changed, and so the readme text explaining it has been updated.

There were various typos which have been corrected.
2017-05-23 21:57:32 +01:00
Cloaked9000
a50529bf90 Update README.md 2017-02-02 12:00:09 +00:00
Cloaked9000
2de9540819 Added windows support. Updated build system.
CMake build system builds as a library, not an executable now.

Windows is now supported and should work fine.
2016-12-19 12:10:39 +00:00
Fred Nicolson
9479029c87 Improved CMake build system. Updated readme.
The CMake build system now uses a relative path for modules, and supports a 'USE_SSL' option to optionally link in mbedtls and enable SSL support.

The readme now provides SSL examples.
2016-12-16 22:34:36 +00:00
Cloaked9000
7d3e0fe5c8 Bug fixes & updated SocketSelector example. 2016-12-15 15:47:19 +00:00
Cloaked9000
34abd12414 Update README.md 2016-12-15 12:31:33 +00:00
Cloaked9000
bbd6ee071b Added missing code to readme 2016-12-12 14:33:36 +00:00
Fred Nicolson
91921867fa Updated send/receive documentation. Updated readme. 2016-12-11 20:54:31 +00:00
Cloaked9000
eec630ed24 Update README.md 2016-12-11 20:02:15 +00:00
Cloaked9000
159b15f5f9 Added examples and a description 2016-12-11 17:11:35 +00:00
Fred Nicolson
2502e2e7a0 Initial commit 2016-12-06 23:06:25 +00:00