Skip to content

Commit e4c69ba

Browse files
committed
Update README.md
1 parent e199c82 commit e4c69ba

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,10 @@ how much glue you want to write.
120120
the browser SDK types `call` / `publish` / `subscribe` end-to-end
121121
from your ROS 2 message types; and every capability
122122
is also a plain HTTP endpoint —
123-
`curl -X POST http://<host>/capability/call/<name>` — so shell
124-
scripts, Postman, AI-agent tool-use, and even a bare browser
125-
`fetch()` (CORS-enabled) just work.
123+
`curl -X POST http://<host>/capability/call/<name>`, with `subscribe`
124+
streaming as Server-Sent Events (`GET .../capability/subscribe/<name>`) —
125+
so shell scripts, Postman, AI-agent tool-use, and even a bare browser
126+
`fetch()` / `EventSource` (CORS-enabled) just work.
126127
_New in `2.0.0-beta.0`._
127128

128129
```ts

0 commit comments

Comments
 (0)