This commit is contained in:
Joel Wetzell
2026-05-17 21:12:04 -05:00
parent 69bc31d3f1
commit 8e6cd58006
82 changed files with 642 additions and 450 deletions
+4 -5
View File
@@ -1,14 +1,13 @@
---
title: HTTP > OSC
sidebar:
order: 1
order: 1
---
import { Code } from '@astrojs/starlight/components';
import { Code } from "@astrojs/starlight/components";
This config starts an HTTP server listening on port `3000`. Any HTTP request coming into that server will result in a OSC message being sent to `127.0.0.1:8000` with the address set to the path from the incoming HTTP message.
export const example = `
api:
enabled: true
@@ -33,6 +32,6 @@ routes:
- type: router.output # output to the udp module
params:
module: udp
`
`;
<Code code={example} title="config.yaml" lang="yaml"/>
<Code code={example} title="config.yaml" lang="yaml" />