Skip to content

Commit a6fb662

Browse files
authored
Update JS instructions
Signed-off-by: Michael Yuan <[email protected]>
1 parent c35026d commit a6fb662

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/develop/javascript/networking.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ The QuickJS WasmEdge Runtime supports Node.js's `http` and `fetch` APIs via the
88

99
The networking API in WasmEdge is non-blocking and hence supports asynchronous I/O-intensive applications. With this API, the JavaScript program can open multiple connections concurrently. It polls those connections or registers async callback functions to process data whenever data comes in, without waiting for any one connection to complete its data transfer. That allows the single-threaded application to handle multiple, multiple concurrent requests.
1010

11-
- [Networking](#networking)
12-
- [Prerequisites](#prerequisites)
13-
- [Fetch client](#fetch-client)
14-
- [HTTP server](#http-server)
15-
- [TCP server and client](#tcp-server-and-client)
11+
- [Prerequisites](#prerequisites)
12+
- [Fetch client](#fetch-client)
13+
- [HTTP server](#http-server)
14+
- [TCP server and client](#tcp-server-and-client)
1615

1716
## Prerequisites
1817

19-
[See here](./hello_world#prerequisites)
18+
Make sure that [you have Rust and WasmEdge installed](../setup.md). To make HTTPS requests, install the [WasmEdge TLS plug-in](../../../start/install.md#tls-plug-in).
19+
20+
Then, [install WasmEdge-QuickJS](./hello_world#prerequisites). Make sure that the `modules` directory is located in your local directory where you want to execute the `wasmedge` command.
2021

2122
## Fetch client
2223

0 commit comments

Comments
 (0)