Damien Arrachequesne
2573a120d9
docs: add changelog for version 2.1.0
2021-10-12 11:12:29 +02:00
Damien Arrachequesne
aba189cad8
chore(release): 3.1.0
3.1.0
2021-10-12 10:24:29 +02:00
Chris Grahn
82d39a90ef
feat: support TLSv1.2 and newer ( #321 )
2021-09-02 08:40:06 +02:00
Johny Qiu
e8ea70776d
feat: use TLSv2 when TLS is used ( #310 )
2021-06-11 11:15:24 +02:00
Damien Arrachequesne
0581aaba02
docs: update compatibility table for Socket.IO v4
...
The v4 contains only a few breaking changes at the API level on the
server-side, so the current C++ client is compatible.
Reference: https://socket.io/docs/v4/migrating-from-3-x-to-4-0/
2021-03-24 23:01:55 +01:00
Edwin Shepherd
e7f17c6c26
docs: fix title format ( #297 )
2021-03-24 22:40:14 +01:00
Joel Nordell
36a8cd4527
feat: allow resource path to be set in connection URI ( #134 )
...
Please note that this implementation differs from the JS one, where the
resource path is the namespace you want to reach:
```js
const socket = io("https://example.com/my-namespace ", {
path: "/my-custom-path/"
});
```
Here, we will have:
```C++
sio::client h;
h.connect("https://example.com/my-custom-path/ ");
h.socket("/my-namespace")->emit("hello");
```
2021-02-14 07:01:35 +01:00
Adrian DC
e7de4ebf64
fix: resolve client_impl::ping LOG call syntax in debug builds
2021-02-09 00:04:31 +01:00
Adrian DC
d1c73b73a8
fix: resolve #254 : handle closing sockets upon on_fail events
2021-02-09 00:04:31 +01:00
DK Moon
b196fa7537
fix: lower the minimum CMake supported version
...
If CMake doesn't understand C++11-related property,
simply use the COMPILE_FLAGS property
2021-01-15 23:29:54 +01:00
Adrian DC
1b42ce738f
feat: implement #45 : add support for logging configuration
2021-01-15 23:29:54 +01:00
Damien Arrachequesne
ec4d540ad5
feat: add support for Socket.IO v3
...
See also:
- https://github.com/socketio/engine.io-protocol#difference-between-v3-and-v4
- https://github.com/socketio/socket.io-protocol#difference-between-v5-and-v4
3.0.0
2021-01-09 02:28:05 +01:00
Damien Arrachequesne
b1216ee428
refactor: use correct Engine.IO protocol revision
...
The 3rd revision is included in Socket.IO v1/v2, whereas the 4th is
included in Socket.IO v3.
Note: this query parameter is not currently checked on the server-side
Reference: https://github.com/socketio/engine.io-protocol
2.0.0
2021-01-09 02:13:39 +01:00
Vincent Raman
d353647b39
refactor: use standard install paths ( #58 )
2021-01-07 16:27:15 +01:00
Damien Arrachequesne
8d4fe204f1
ci: migrate to GitHub Actions
...
Due to the recent changes to the Travis CI platform (see [1]), we will
now use GitHub Actions to run the tests.
Reference: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
[1]: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
2021-01-07 16:04:48 +01:00
Damien Arrachequesne
019742fcd5
chore: update .gitignore with cmake output
...
[skip ci]
2021-01-07 14:55:00 +01:00
Sepehr Laal
af68bf3067
refactor: remove Boost dependency ( #176 )
...
- add the standalone ASIO as a replacement for Boost ASIO
- add Catch++ as a replacement for Boost Test framework
- remove dependency on Boost DateTime and Boost Lexical Cast
2021-01-07 14:27:25 +01:00
melode11
6063cb1d61
Merge pull request #138 from jianjunz/querystring
...
URL encode query string.
2017-10-13 17:43:11 -07:00
melode11
08e83ea0ed
Merge pull request #145 from limitedAtonement/master
...
Remove unused parameters and reorder constructors to get rid of warnings
2017-10-13 17:42:54 -07:00
melode11
d38c233657
Merge pull request #149 from evileye2000/master
...
Remove unused argument
2017-10-13 17:40:56 -07:00
melode11
ff3297ba0d
Merge pull request #135 from ErisExchange/eris-more_reliable_close
...
Consider all client-initiated closes to be close_reason_normal.
2017-10-13 17:38:27 -07:00
Jack Lee
d8f8ed516b
Remove unused argument
2017-03-06 19:21:56 +09:00
melode11
4d83a7a404
Merge pull request #125 from botlink/master
...
Change client_impl::send_impl() not to delay ping
2017-02-23 18:06:11 -08:00
lmat
aee175e81c
Remove unused parameters and reorder constructors to get rid of warnings
2017-02-13 12:39:46 -05:00
Jianjun Zhu
ffff9412e7
URL encode query string.
...
Percent encode query string so it can handle non-ascii characters and
reserved characters.
2017-01-03 09:47:22 +08:00
Joel Nordell
29468bfbd2
Consider all client-initiated closes to be close_reason_normal.
...
If any errors occur while closing, such as TLS Short Read, we don't want
to reconnect if we had initiated the close.
2016-12-08 10:05:02 -06:00
Chris Grahn
7a6770e909
Change client_impl::send_impl() not to delay ping
...
client_impl::close_impl() only gets called when the user is closing the
connection ("End by user"), when there is a handshake error, when the
server sends a frame_close packet ("End by server"), or when there is a
pong timeout.
Before, in the case where send_impl() would continously get called with
an interval less than client_impl::m_ping_interval, a disconnect due to
network problems would never be detected because the ping would keep
getting delayed, thus never allowing the pong timeout to happen. This
fixes that by not delaying pings.
2016-11-16 14:46:04 -06:00
melode11
725a8e0e17
Merge pull request #104 from a-tatarsky/master
...
client: support custom HTTP headers
2016-09-18 10:26:01 +08:00
melode11
52e99b7533
Merge pull request #107 from Magic07/ipv6
...
Support IPv6 literal address.
2016-09-18 10:24:13 +08:00
melode11
f62e777aa4
Merge pull request #110 from laneysmith/patch-1
...
Update API.md
2016-09-18 10:22:15 +08:00
melode11
d0a846e026
Merge pull request #116 from mehanig/fix-readme-missing-brackets-typo
...
Missing brackets in Readme File?
2016-09-18 10:21:16 +08:00
Mike
6181d577ff
Missing brackets in socket constructor
2016-09-15 15:39:03 +03:00
Laney Smith
74c61eacea
Update API.md
...
formatting, spelling :)
2016-08-13 11:34:10 -06:00
Jianjun Zhu
e666fa0c5e
Support IPv6 literal address.
2016-08-04 15:53:58 +08:00
Alexey Tatarsky
cda7b205dc
client: support custom HTTP headers
...
Added another overload of client::connect that takes an std::map
of additional HTTP headers to be passed on to the server when connecting.
2016-07-14 15:16:04 +03:00
melode11
a0e5341b68
Merge pull request #92 from FishingCactus/fix-std_namespace
...
don't use namespace std in publicly exposed code.
2016-04-28 10:13:45 +08:00
pieter.vantorre
02a6e34ed2
don't use namespace std in publicly exposed code.
...
Doing so is bad practice. In our case, we override enable_if in our engine, and the compiler got confused.
2016-04-27 11:42:14 +02:00
melode11
f0ed359e08
Merge pull request #83 from yas/fix_issue_82
...
fix #82 : It was corrected to lack to deduct an offset from the charac…
2016-03-11 23:10:13 +08:00
Yasuo Itabashi
b1527fe92f
fix #82 : It was corrected to lack to deduct an offset from the character searched in find('-') in substr().
2016-03-08 23:48:27 +09:00
melode11
36059f1fb8
Merge pull request #64 from macq-vraman/master
...
Improved message API
2016-01-29 10:18:59 +08:00
Vincent Raman
846356e6a0
Replaced tabs by 4 spaces
2015-11-21 11:08:43 +01:00
melode11
2fe337300c
Merge pull request #66 from hfossli/readme
...
Restructuring readme
2015-10-17 18:17:35 +08:00
Håvard Fossli
deae5ce9b0
Restructuring readme
2015-09-29 21:58:35 +02:00
Vincent Raman
764a488106
Improved message API
2015-09-24 20:58:04 +02:00
melo.yao
f02dc689fc
Merge branch 'master' of https://github.com/socketio/socket.io-client-cpp
1.6.1
2015-09-20 18:43:46 +08:00
melo.yao
3d0ac441dc
add null message type, fix crash when null message cames
2015-09-20 18:43:09 +08:00
melode11
3aee49c553
Merge pull request #59 from macq-vraman/ack_javascript_compliant
...
Changed ack from message::ptr to message::list
2015-09-10 15:34:07 +08:00
melode11
34b949e24f
Merge pull request #57 from macq-vraman/master
...
Add options to choose between static and dynamic libraries
2015-09-10 15:25:20 +08:00
Vincent Raman
7dc236e160
Proper soname for dynamic libraries
2015-09-06 00:49:54 +02:00
Vincent Raman
3500e7b6d2
Adapted QT demo to ack change
2015-09-04 20:41:22 +02:00