From 0f5e73a3058d3c4e9da744528f81abd936ba0083 Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Thu, 17 Oct 2024 15:07:26 +0200 Subject: [PATCH] Update docs/ts/primitives/streaming-apis.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Eriksson --- docs/ts/primitives/streaming-apis.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ts/primitives/streaming-apis.mdx b/docs/ts/primitives/streaming-apis.mdx index e554be8424..06c7579892 100644 --- a/docs/ts/primitives/streaming-apis.mdx +++ b/docs/ts/primitives/streaming-apis.mdx @@ -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: