-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathweb.json
More file actions
22 lines (22 loc) · 790 Bytes
/
web.json
File metadata and controls
22 lines (22 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$comment": "Sample rclnodejs/web config consumed by `npx -p rclnodejs rclnodejs-web web.json` (the `-p rclnodejs` form works even when rclnodejs isn't already installed in the current project). Every key is optional; the defaults shown match the CLI defaults.",
"port": 9000,
"path": "/capability",
"node": "rclnodejs_web_demo",
"http": {
"$comment": "HTTP transport for `call` and `publish`. curl-able, AI-agent friendly. Subscribe still uses WebSocket.",
"port": 9001
},
"expose": {
"call": {
"/add_two_ints": "example_interfaces/srv/AddTwoInts"
},
"publish": {
"/web_demo_chatter": "std_msgs/msg/String"
},
"subscribe": {
"/web_demo_tick": "std_msgs/msg/String",
"/web_demo_chatter": "std_msgs/msg/String"
}
}
}