Commit Graph

45 Commits

Author SHA1 Message Date
yhirose
315a87520d Add release script and update .gitignore for work directory 2026-03-23 23:06:37 -04:00
yhirose
ba0d0b82db Add benchmark tests and related configurations for performance evaluation 2026-03-14 22:16:53 -04:00
yhirose
3ad4a4243a Update .gitignore to include AGENTS.md and related documentation files 2026-03-13 22:31:44 -04:00
yhirose
e906c31a79 Add favicon and update navigation icons across documentation
- Added a favicon link to all tour pages in the Japanese documentation.
- Updated navigation links to include SVG icons for Home and GitHub.
- Changed language button to include an SVG icon for better visual representation.
- Improved theme toggle button to use SVG icons for light and dark modes.
- Refactored the documentation build commands in the justfile for clarity and consistency.
2026-03-01 23:04:38 -05:00
yhirose
bda599bfb4 Fix base_dir for GitHub PageS 2026-02-28 20:56:46 -05:00
yhirose
797758a742 Documentation Site on GitHub Pages (#2376)
* Add initial documentations

* Update documentation for Basic Client and add WebSocket section

* feat: add a static site generator with multi-language support

- Introduced a new Rust-based static site generator in the `docs-gen` directory.
- Implemented core functionality for building sites from markdown files, including:
  - Configuration loading from `config.toml`.
  - Markdown rendering with frontmatter support.
  - Navigation generation based on page structure.
  - Static file copying and output directory management.
- Added templates for base layout, pages, and portal.
- Created a CSS file for styling and a JavaScript file for interactive features like language selection and theme toggling.
- Updated documentation source with new configuration and example pages in English and Japanese.
- Added a `justfile` target for building the documentation site.

* Add language/theme toggle functionality

- Created a new Japanese tour index page at docs/ja/tour/index.html
- Implemented navigation links for various sections of the cpp-httplib tutorial
- Added a language selector to switch between English and Japanese
- Introduced theme toggle functionality to switch between light and dark modes
- Added mobile sidebar toggle for better navigation on smaller screens
2026-02-28 14:45:40 -05:00
yhirose
43cf1822c6 Resolve #2369 2026-02-20 16:22:01 -05:00
yhirose
0d5bf55c73 Add wolfSSL support (#2370)
* Add wolfSSL support

* Update CI

* Fix build error

* Revert "Fix build error"

This reverts commit d48096277fd53777988d23dfdc53d9ce6bbc334c.

* Fix build errors

* Build errors on ubuntu

* Update README

* Refactoring

* Fix wolfSSL issues
2026-02-20 15:42:45 -05:00
yhirose
464867a9ce WebSocket and Dynamic Thread Pool support (#2368)
* WebSocket support

* Validate selected subprotocol in WebSocket handshake

* Fix problem with a Unit test

* Dynamic Thread Pool support

* Fix race condition in new Dynamic ThreadPool
2026-02-14 17:44:49 -05:00
yhirose
ed5c5d325b Parallel test on CI (#2364)
* Parallel test on CI

* Fix problem with Windows

* Use cache for vcpkg

* Parallel 'No Exception' test

* Use one job to run all shards
2026-02-13 01:55:30 -05:00
yhirose
6be32a540d Abstract TLS API support (Resolve #2309) (#2342)
Abstract TLS API support (OpenSSL and MbedTLS backends)
2026-02-01 23:48:03 -05:00
yhirose
8bba34eebc Add New Streaming API support (#2281) 2025-12-01 21:40:13 -05:00
yhirose
551f96d4a2 Remove REMOTE_PORT dependency from UnixSocketTest.PeerPid 2025-10-27 20:40:12 -04:00
yhirose
6e0f211cff Fix problem with .gitignore for examples 2025-10-27 17:54:27 -04:00
yhirose
145fc8b021 Proxy test (#2172)
* Add proxy test on CI

* Add Brotli and Zstd dev packages to proxy test workflow

* Fix Docker Compose command for GitHub Actions compatibility

* Add proxy readiness check and netcat dependency

* Use netcat-openbsd instead of virtual netcat package

* Add proxy startup delay and debug logging
2025-07-06 22:00:41 -04:00
yhirose
39a64fb4e7 Fix ABI compatibility tool on macOS 2025-02-11 18:40:39 -05:00
yhirose
7b18ae6f16 Update benchmark 2024-09-08 10:56:13 -04:00
yhirose
01a52aa8bd Add example/server_and_client.cc 2024-09-07 10:05:53 -04:00
yhirose
dfa641ca41 Misc 2024-09-05 22:54:48 -04:00
yhirose
c75d071615 Add benchmark tool 2024-09-05 12:22:46 -04:00
Hlado
177d8420a1 Added .gitattributes file to prevent git from changing line endings (#1872)
of text files using as data for tests.
2024-06-30 11:16:48 -04:00
yhirose
0b657d28cf Added example/one_time_request.cc. 2024-06-14 18:29:34 -04:00
yhirose
bc3e098964 Updated .gitignore 2021-12-17 22:36:02 -05:00
Joel Rosdahl
887074efd2 Add test of httplib.h split into .h + .cc (#1015)
In order to test the split version (.h + .cc via split.py):

- Added a test_split program in the test directory whose main purpose is
  to verify that it works to compile and link the test case code against
  the split httplib.h version.
- Moved types needed for test cases to the “header part” of httplib.h.
  Also added forward declarations of functions needed by test cases.
- Added an include_httplib.cc file which is linked together with test.cc
  to verify that inline keywords have not been forgotten.

The changes to httplib.h just move code around (or add forward
declarations), with one exception: detail::split and
detail::process_client_socket have been converted to non-template
functions (taking an std::function instead of using a type parameter for
the function) and forward-declared instead. This avoids having to move
the templates to the “header part”.
2021-07-31 09:53:30 -04:00
yhirose
0e9cfd9f49 SSE client example 2020-07-25 11:20:57 -04:00
yhirose
da26b517a3 Added url::Get interface 2020-04-21 23:00:39 -04:00
yhirose
2e360f9dd6 Improved Stream interface 2020-01-16 23:28:11 -05:00
yhirose
38adeaf02c Fixed problem with proxy support and added unit tests 2019-12-22 15:37:01 -05:00
yhirose
260422b7d7 Format code 2019-12-14 23:46:11 -05:00
yhirose
6f5a3c97ec Update .gitignore 2019-06-30 08:02:22 -04:00
yhirose
8d12e0d8f4 Simplified code 2019-06-11 21:39:35 -04:00
Duncan Ogilvie
f88ab8ad4c travis and appveyor configuration 2018-10-14 22:42:18 +02:00
yhirose
e2e33a7f0b Updated .gitignore 2018-04-18 08:35:12 -04:00
yhirose
292d1aeff7 added simplesvr sample. 2013-07-04 22:08:49 -04:00
yhirose
260edbf881 Updated .gitignore. 2013-04-24 20:14:42 -04:00
yhirose
b1e2063d60 Added Xcode project. 2013-04-24 09:35:45 -04:00
yhirose
34f71312e8 Updated .gitignore. 2012-10-02 20:42:23 -04:00
yhirose
0a26cd08f0 Updated .gitignore. 2012-09-26 21:36:32 -04:00
yhirose
181d642238 Added 'hello' example. 2012-09-25 22:10:19 -04:00
yhirose
7953abff07 Added *.dSYM to .gitignore. 2012-09-24 23:15:28 -04:00
yhirose
14ef6f5d00 Added .suo to .gitignore. 2012-09-24 20:51:36 -04:00
yhirose
c5c1c4d412 Win32 support.
Merged windows branch.

Revert "Merged windows branch."

This reverts commit ceb070d993f49543aa26a0ce9bd7e1f9ffabe5f5.
2012-09-24 11:04:32 -04:00
yhirose
3464386f17 Added Vim swap file to .gitignore. 2012-09-24 07:55:12 -04:00
yhirose
397362e930 Updated .gitignore 2012-09-23 00:40:59 -04:00
yhirose
c568deaba1 Initial commit 2012-09-21 19:38:33 -07:00