Chunting Gu
|
01210e8a42
|
simplify string utilities
|
2021-04-19 14:01:18 +08:00 |
|
Chunting Gu
|
f5210ba1a2
|
rework client using async api
|
2021-04-16 19:07:31 +08:00 |
|
Chunting Gu
|
7f345b7a4e
|
fix build option issues; refine cmake
|
2021-02-05 14:12:26 +08:00 |
|
Chunting Gu
|
1b8b0b24ac
|
refine the usage of build options
|
2021-02-01 09:23:53 +08:00 |
|
Chunting Gu
|
233aa5910c
|
add an example to embed a server in a Qt GUI app
|
2021-01-22 11:34:17 +08:00 |
|
Chunting Gu
|
613b8ab50f
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2020-12-21 17:57:31 +08:00 |
|
Chunting Gu
|
c2f3a87cd2
|
allow to set buffer size for server
|
2020-12-21 17:53:36 +08:00 |
|
 Chunting GuandGitHub
|
9e4283ad34
|
Update concurrency_test.cc
print error using std::cerr
|
2020-12-21 17:27:50 +08:00 |
|
Chunting Gu
|
ca83869912
|
Add an example for x-www-form-urlencoded
|
2020-12-17 10:13:59 +08:00 |
|
Chunting Gu
|
abd30ab69d
|
improve the parsing of form data
|
2020-12-07 14:16:08 +08:00 |
|
Chunting Gu
|
7a09d47e8f
|
accept-encoding default to identity even if gzip is enabled.
|
2020-09-14 13:25:04 +08:00 |
|
Chunting Gu
|
84476f75f7
|
switch back to boost::filesystem to avoid the requirement of c++17
|
2020-09-07 19:01:31 +08:00 |
|
Chunting Gu
|
3d7b66f911
|
remove zlib from third_party, find it by cmake find_package()
|
2020-09-01 14:41:01 +08:00 |
|
Chunting Gu
|
d49db1ec9c
|
switch asio from standalone to boost
|
2020-08-31 14:57:47 +08:00 |
|
Chunting Gu
|
c392b57a55
|
ipv6 support
|
2020-08-24 13:50:23 +08:00 |
|
Chunting Gu
|
8106da401e
|
ClientSession: SetContentType()
|
2020-08-18 09:37:52 +08:00 |
|
Chunting Gu
|
b38e6c153d
|
remove accept_ member var from request builder
|
2020-08-10 10:28:48 +08:00 |
|
Chunting Gu
|
39ade6df4f
|
add Accept() for Accept header to request builder
|
2020-08-10 09:48:30 +08:00 |
|
Chunting Gu
|
4386c46397
|
cleanup
|
2020-02-23 12:31:20 +08:00 |
|
Chunting Gu
|
1e3c2b2604
|
don't use boost string algorithm
|
2020-02-18 09:49:45 +08:00 |
|
Chunting Gu
|
7e7ab1c1e8
|
replace boost filesystem with std filesystem; upgrade gtest and find it using cmake.
|
2020-02-15 12:04:51 +08:00 |
|
Chunting Gu
|
7cb5bca0d0
|
Add an example to test server concurrency.
|
2019-12-06 10:34:36 +08:00 |
|
Chunting Gu
|
9f3d968e77
|
Fix URL encode issue.
|
2019-09-18 14:03:16 +08:00 |
|
Chunting Gu
|
2a25340ce4
|
Rework book server and client.
|
2019-09-06 17:40:46 +08:00 |
|
Chunting Gu
|
f1ad97b227
|
Rework book example to support upload book photo.
|
2019-09-05 10:53:39 +08:00 |
|
Chunting Gu
|
4c413e245d
|
Allow to get the size of the queue.
|
2019-09-04 16:27:01 +08:00 |
|
Chunting Gu
|
ad1016734e
|
Rename Request() to Send().
|
2019-08-26 12:13:25 +08:00 |
|
Chunting Gu
|
1a21989b2e
|
Fix URL encoding issues; remove request shortcuts.
|
2019-08-23 14:51:41 +08:00 |
|
Chunting Gu
|
9b31ac855a
|
Rename form data examples.
|
2019-08-14 15:11:39 +08:00 |
|
Chunting Gu
|
4f9263048f
|
Post a file with data streaming
|
2019-08-12 14:06:59 +08:00 |
|
Chunting Gu
|
feae9b7acc
|
Refine the streaming, add UT, add error handling.
|
2019-08-09 16:10:16 +08:00 |
|
Chunting Gu
|
0292b4b51e
|
Support response data streaming and add an example file downloader.
|
2019-08-08 17:12:22 +08:00 |
|
Chunting Gu
|
3077f21549
|
Move data decompression to StringBody.
|
2019-08-07 15:59:22 +08:00 |
|
Chunting Gu
|
effe302faa
|
Use bfs::path for logger path.
|
2019-08-07 13:45:56 +08:00 |
|
Chunting Gu
|
92356215ef
|
Refine help message of client examples.
|
2019-08-05 13:32:42 +08:00 |
|
Chunting Gu
|
a22e587fa4
|
Rename static_server to file_server and refine it.
|
2019-08-05 13:23:34 +08:00 |
|
Chunting Gu
|
673a98cffb
|
Allow to stop server and restart server; allow to run loop in multiple threads.
|
2019-07-30 10:35:51 +08:00 |
|
Chunting Gu
|
db87f940e0
|
Refine CMake to find boost.
|
2019-07-15 17:24:21 +08:00 |
|
Chunting Gu
|
46ea52cb90
|
Refine the connection close
|
2019-07-15 15:36:30 +08:00 |
|
Chunting Gu
|
8b85248a34
|
Merge request handler to server; add FileBody for serving static files.
|
2019-07-12 16:05:01 +08:00 |
|
Chunting Gu
|
b2cbc450b8
|
Fix payload iteration issue of FormBody; Log form body; ignore body for response of HEAD.
|
2019-07-09 13:18:55 +08:00 |
|
Chunting Gu
|
3309e7896a
|
Add new log level USER
|
2019-07-05 10:57:03 +08:00 |
|
Chunting Gu
|
ec753c14c3
|
Add hello world server example
|
2019-07-04 12:23:41 +08:00 |
|
Chunting Gu
|
98aeeae012
|
Rework the body of request and response
|
2019-07-03 17:37:44 +08:00 |
|
Chunting Gu
|
a3cab444dc
|
Server API rework.
|
2019-06-26 17:34:39 +08:00 |
|
Chunting Gu
|
8a7f53313b
|
Add response builder to simplify the response build; refine the service interfaces.
|
2019-06-21 17:41:02 +08:00 |
|
Chunting Gu
|
4140b4f94c
|
Rework the server to remove rest_xxx classes.
|
2019-06-21 13:53:00 +08:00 |
|
Chunting Gu
|
43aadee885
|
Use system certificate on Windows.
|
2019-06-17 15:28:20 +08:00 |
|
Chunting Gu
|
889024d6c7
|
Fix a compile error when SSL is disabled.
|
2019-06-13 14:47:00 +08:00 |
|
Chunting Gu
|
8c09189b14
|
Rework the client error handling
|
2019-06-10 12:00:57 +08:00 |
|