Skip to content

Commit

Permalink
Update docs/ts/primitives/streaming-apis.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: André Eriksson <[email protected]>
  • Loading branch information
fredr and eandre authored Oct 17, 2024
1 parent 1178e68 commit 0f5e73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ts/primitives/streaming-apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ stream.socket.on("close", (event) => {
## Service to service streaming

Like with any [other endpoints](/docs/ts/primitives/api-calls) you can easily use streaming between services by importing `~encore/clients`.
If you want the stream to only be reachable by other services, set the `exposed`-option to false.
If you want the stream to only be reachable by other services (and not from the public internet), set the `exposed` option to false.

Example of using a stream endpoint from a regular api endpoint:

Expand Down

0 comments on commit 0f5e73a

Please sign in to comment.