mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-13 21:14:17 +00:00
20 lines
386 B
Markdown
20 lines
386 B
Markdown
---
|
|
title: HTTP Server
|
|
sidebar:
|
|
label: Server
|
|
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
|
|
```yaml
|
|
- id: httpServer
|
|
type: http.server
|
|
params:
|
|
port: 3000
|
|
``` |