move HTTP module to own section

This commit is contained in:
Joel Wetzell
2025-12-11 19:37:45 -06:00
parent b8853d6950
commit a6debbc175
7 changed files with 13 additions and 8 deletions
+5
View File
@@ -40,6 +40,11 @@ export default defineConfig({
collapsed: true,
autogenerate: { directory: 'modules/network' }
},
{
label: "HTTP",
collapsed: true,
autogenerate: { directory: 'modules/http' }
},
]
},
{
@@ -5,11 +5,11 @@ sidebar:
---
The HTTP Client module emits a message contianing the response of the HTTP calls it makes.
- **type**: `net.http.client`
- **type**: `http.client`
- **params**: no params are needed for HTTP client
### Example
```
- id: httpSender1
type: net.http.client
type: http.client
```
@@ -5,7 +5,7 @@ sidebar:
---
The HTTP server module emits a message for every HTTP request that is made to the server
- **type**: `net.http.server`
- **type**: `http.server`
- **params**:
- **port**: TCP port to listen for HTTP requests on
@@ -13,7 +13,7 @@ The HTTP server module emits a message for every HTTP request that is made to th
Start an HTTP server listening on port 3000
```
- id: httpServer
type: net.http.server
type: http.server
params:
port: 3000
```
@@ -1,7 +1,7 @@
---
title: TCP Client
sidebar:
order: 3
order: 1
---
The TCP client module connects to TCP server and emits a message for every message it receives from the server that it connects to. Messages are determined by "framing" techniques as TCP is a stream based protocol. The module will attempt to reconnect anytime the connection is closed.
@@ -1,7 +1,7 @@
---
title: TCP Server
sidebar:
order: 4
order: 2
---
The TCP server module emits a message for every message it receives from clients that connect to it. Messages are determined by "framing" techniques as TCP is a stream based protocol.
@@ -1,7 +1,7 @@
---
title: UDP Client
sidebar:
order: 5
order: 3
---
The UDP client module sends messages to a the configured `host` and `port`. This module does not receive any message and so using it as an `input` to a [route](/concepts/routes) would be pointless.
@@ -1,7 +1,7 @@
---
title: UDP Server
sidebar:
order: 6
order: 4
---
The UDP server module emits a message for every incoming UDP datagram.