From 96695af4b1ae3e6d3593f14778147539585e8bf4 Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Mon, 21 Oct 2024 11:08:15 +0200 Subject: [PATCH] docs: correct field name is expose --- 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 ab5133168f..f5309e0e70 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 [other endpoint types](/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 (and not from the public internet), 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 `expose` option to false. Example of using a stream endpoint from a regular api endpoint: