0 branches
Tree Top files
Code
Clone with HTTPS:
56 years ago
..

net.http integration example

This example shows how x.async can coordinate local net.http request and response handling without opening a network listener.

It is intentionally synthetic: requests are constructed in memory, processed by a small handler, and drained through a Pool. This keeps the example stable while still showing the lifecycle pattern used by HTTP-facing code: