You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ab...@apache.org on 2025/12/23 21:02:48 UTC
(httpcomponents-website) branch master updated: Add SSE perf client and minimal test server examples
This is an automated email from the ASF dual-hosted git repository.
abernal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-website.git
The following commit(s) were added to refs/heads/master by this push:
new 41d0b9a Add SSE perf client and minimal test server examples
41d0b9a is described below
commit 41d0b9a30036d683491ec2f45582aac2b448f3e9
Author: Arturo Bernal <ab...@apache.org>
AuthorDate: Tue Dec 23 22:02:40 2025 +0100
Add SSE perf client and minimal test server examples
---
src/site/markdown/httpcomponents-client-5.7.x/server-sent-events.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/site/markdown/httpcomponents-client-5.7.x/server-sent-events.md b/src/site/markdown/httpcomponents-client-5.7.x/server-sent-events.md
index dae8d24..8079e71 100644
--- a/src/site/markdown/httpcomponents-client-5.7.x/server-sent-events.md
+++ b/src/site/markdown/httpcomponents-client-5.7.x/server-sent-events.md
@@ -225,6 +225,12 @@ Concrete examples live in the `httpclient5-sse` module under
Minimal HTTP server that emits SSE events at a configurable rate, intended to
be used together with `SsePerfClient` for end-to-end testing.
+- [ClientSseH2Example](https://github.com/apache/httpcomponents-client/tree/master/httpclient5-sse/src/test/java/org/apache/hc/client5/http/sse/example/ClientSseH2Example.java)
+
+ HTTP/2 SSE demo. Forces H2 (TLS + ALPN), probes the negotiated protocol, and
+ demonstrates multiplexing multiple SSE subscriptions over a single HTTP/2
+ connection.
+
Further reading
---------------