You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/http-client/README.md
+33-11Lines changed: 33 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,22 @@
1
1
# HTTP Client Example
2
2
3
-
This example demonstrates the integration of the HTTP client module with other modules in a reverse proxy setup, showcasing advanced HTTP client features and configuration.
3
+
This example demonstrates the integration of the `httpclient` and `reverseproxy` modules, showcasing how the reverseproxy module properly uses the httpclient service for making HTTP requests with verbose logging.
4
+
5
+
## Features Demonstrated
6
+
7
+
-**Service Integration**: Shows how the reverseproxy module automatically uses the httpclient service when available
8
+
-**Verbose HTTP Logging**: Demonstrates detailed request/response logging through the httpclient service
9
+
-**File Logging**: Captures HTTP request/response details to files for analysis
10
+
-**Modular Architecture**: Clean separation of concerns between routing (reverseproxy) and HTTP client functionality (httpclient)
11
+
-**Service Dependency Resolution**: Example of how modules can depend on services provided by other modules
4
12
5
13
## What it demonstrates
6
14
7
15
-**HTTP Client Module Integration**: How the httpclient module integrates with other modules
8
16
-**Advanced HTTP Client Configuration**: Connection pooling, timeouts, and performance tuning
9
17
-**Reverse Proxy with Custom Client**: Using a configured HTTP client for proxying requests
10
18
-**Module Service Dependencies**: How modules can provide services to other modules
0 commit comments