crates/pool/examples/http

A multithreaded server based on wasm_mt_pool::ThreadPool.

TODO: use HTTP with hyperium/http on top of the client-server communication.

HTTP builds on top of TCP by defining the contents of the requests and responses. It’s technically possible to use HTTP with other protocols, but in the vast majority of cases, HTTP sends its data over TCP. -- The Rust Book

source code

💡 Open the developer console to see the results.