From 3ac2ed14885bc93131c1d3d391806ac83019737c Mon Sep 17 00:00:00 2001 From: adamw Date: Tue, 19 Nov 2024 12:30:14 +0100 Subject: [PATCH] fix link --- docs/websockets.md | 2 +- generated-docs/out/websockets.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/websockets.md b/docs/websockets.md index e477877b3f..e734e8bcd7 100644 --- a/docs/websockets.md +++ b/docs/websockets.md @@ -129,7 +129,7 @@ basicRequest .send(backend) ``` -See the [full example here](https://github.com/softwaremill/sttp/blob/master/examples/src/main/scala/sttp/client4/examples3/WebSocketOx.scala). +See the [full example here](https://github.com/softwaremill/sttp/blob/master/examples3/src/main/scala/sttp/client4/examples/WebSocketOx.scala). Make sure that the `Source` is contiunually read. This will guarantee that server-side Close signal is received and handled. If you don't want to process frames from the server, you can at least handle it with a `fork { source.drain() }`. diff --git a/generated-docs/out/websockets.md b/generated-docs/out/websockets.md index 93a728f2f8..9fd5ee5a35 100644 --- a/generated-docs/out/websockets.md +++ b/generated-docs/out/websockets.md @@ -129,7 +129,7 @@ basicRequest .send(backend) ``` -See the [full example here](https://github.com/softwaremill/sttp/blob/master/examples/src/main/scala/sttp/client4/examples3/WebSocketOx.scala). +See the [full example here](https://github.com/softwaremill/sttp/blob/master/examples3/src/main/scala/sttp/client4/examples/WebSocketOx.scala). Make sure that the `Source` is contiunually read. This will guarantee that server-side Close signal is received and handled. If you don't want to process frames from the server, you can at least handle it with a `fork { source.drain() }`.