@@ -26,13 +26,13 @@ hero:
2626features :
2727 - icon : ⚡
2828 title : Zero Dependencies, Maximum Speed
29- details : Built on top of native sockets. Minimal overhead, instant startup and high- performance workloads .
29+ details : Built on top of native sockets. Minimal overhead, instant startup and strong performance under load .
3030 - icon : 🌐
3131 title : Flexible Web Server
3232 details : Handle APIs, static files, and dynamic content through a simple routing model — with full control over behavior.
3333 - icon : 🛡️
3434 title : Production-Grade Core
35- details : A fully integrated core designed for real-world usage covering security, communication, and observability without external dependencies.
35+ details : A fully integrated core designed for real-world usage, covering security, communication, and observability without external dependencies.
3636 - icon : 🧩
3737 title : Powerful Addons
3838 details : Designed for extensibility. Integrate additional capabilities through independent modules without bloating your core.
@@ -57,7 +57,7 @@ server.MapGet("/api/test/hello", () => {
5757 return new { message = "Hello World !" };
5858});
5959
60- // start a blocking background server
60+ // run server
6161await server.RunAsync();
6262```
6363
@@ -92,7 +92,7 @@ class Program {
9292 options.IncludeStackTrace = true;
9393 options.EnrichWithHttpSession = (activity, session) => {
9494 // override host with the X-Forwarded-Host header (set by a trusted reverse proxy)
95- if (session.Request.Headers.TryGetValue("X-Forwarded-Host", out string? host) {
95+ if (session.Request.Headers.TryGetValue("X-Forwarded-Host", out string? host)) {
9696 activity.SetTag("url.host", host);
9797 }
9898 };
@@ -132,7 +132,7 @@ class Program {
132132 });
133133 });
134134
135- // start a blocking background server
135+ // run server
136136 await server.RunAsync();
137137 }
138138}
@@ -166,7 +166,7 @@ builder.ConfigureSimpleW(server => {
166166 });
167167 // routes
168168 server.MapGet("/hello", () => {
169- return new { mesage = "Hello World !" };
169+ return new { message = "Hello World !" };
170170 });
171171 // ssl
172172 X509Certificate2 cert = new(@"C:\Users\SimpleW\ssl\domain.pfx", "password");
0 commit comments