Leytou
ddd0e5b555
core: In TLS build of library, support both TLS and non-TLS connections. ( #389 )
...
The choice is made at runtime, if a TLS URI (https:// or wss://) is
given, the TLS client will be used, otherwise the non-TLS client will be
used.
Additionally, a new constructor is introduced allowing the URI to be
passed at construction, which allows the above selection to occur,
otherwise only the default for the library (TLS or non-TLS) will be used
(preserving the original behavior).
Co-authored-by: Joel Nordell <joel.nordell@erisfutures.com>
2023-02-17 09:47:01 +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
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
Jianjun Zhu
b06184bbbf
Allow connect with query string.
2015-04-23 17:59:29 +08:00
melode11
bc3d745c18
add test cases,format code
2015-04-20 23:12:28 +08:00
melode11
667f75d99c
change QT demo UI and gif, clean code
2015-04-13 12:02:14 +08:00
melo.yao
a1f153e06a
add reconnect functionality
2015-04-12 23:29:41 +08:00
melo.yao
9da4979d7f
change reconnect implementation
2015-04-11 00:26:13 +08:00
melode11
e0d662382a
move sio_packet to internal,update cmake script
2015-04-08 14:56:15 +08:00
melode11
4d6501016a
interface change, move 'socket#connect(open)/close listener' to client
2015-04-07 13:20:41 +08:00
melode11
ad0cd77cab
use socket to store pending packet, send them once connected.
2015-04-03 19:11:24 +08:00
melode11
c8aeb09030
fix some bug, and update iOS demo for the new interfaces
2015-04-03 17:10:28 +08:00
melode11
d737680074
first multiplex version can pass build
2015-04-03 15:57:32 +08:00
melo.yao
c30cd0fe90
partially work
2015-04-03 02:24:18 +08:00
melo.yao
3b756510eb
add branch multiplex
2015-04-03 01:30:30 +08:00
melode11
0997fe3734
add
2015-04-02 20:57:36 +08:00
melode11
bbd7670c1e
add sio::event object for event callback,to avoid too many arguments in the callback function.
2015-04-02 20:54:28 +08:00
melode11
a94d95ac59
fix some special case of packet parsing,fully support namespace
2015-04-02 19:20:39 +08:00
melode11
c6537e9353
fix a critical bug will cause ping timer stop work
2015-03-31 16:14:34 +08:00
melode11
37bb20a86d
add iOS chat room example
2015-03-30 17:59:01 +08:00
melo.yao
affd2eee4a
fix compilation on MSVC
2015-03-28 23:00:40 +08:00
melode11
00722d4095
fix test sample
2015-03-27 15:59:31 +08:00
melode11
cfa2f8148e
fix MacOS/iOS compile issues
2015-03-27 11:10:06 +08:00
melo.yao
11fd5f74c9
fix vs2012 compilation
2015-03-27 01:26:04 +08:00
melode11
58585b2495
initial push
2015-03-26 21:46:07 +08:00