Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Nov 19, 2024
1 parent 6c9a777 commit 3ac2ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/websockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() }`.
Expand Down
2 changes: 1 addition & 1 deletion generated-docs/out/websockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() }`.
Expand Down

0 comments on commit 3ac2ed1

Please sign in to comment.