mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-12 09:03:40 +00:00
move HTTP module to own section
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: HTTP Client
|
||||
sidebar:
|
||||
order: 1
|
||||
---
|
||||
The HTTP Client module emits a message contianing the response of the HTTP calls it makes.
|
||||
|
||||
- **type**: `http.client`
|
||||
- **params**: no params are needed for HTTP client
|
||||
|
||||
### Example
|
||||
```
|
||||
- id: httpSender1
|
||||
type: http.client
|
||||
```
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: HTTP Server
|
||||
sidebar:
|
||||
order: 2
|
||||
---
|
||||
The HTTP server module emits a message for every HTTP request that is made to the server
|
||||
|
||||
- **type**: `http.server`
|
||||
- **params**:
|
||||
- **port**: TCP port to listen for HTTP requests on
|
||||
|
||||
### Example
|
||||
Start an HTTP server listening on port 3000
|
||||
```
|
||||
- id: httpServer
|
||||
type: http.server
|
||||
params:
|
||||
port: 3000
|
||||
```
|
||||
Reference in New Issue
Block a user