mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-13 21:14:17 +00:00
move HTTP module to own section
This commit is contained in:
@@ -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