Skip to content

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Jul 28, 2023
1 parent bc86681 commit dc2f3f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/advanced/websocket-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import zio.http.codec.PathCodec.string

object WebSocketAdvanced extends ZIOAppDefault {

val socketApp: SocketApp[Any] =
val socketApp: WebSocketApp[Any] =
Handler.webSocket { channel =>
channel.receiveAll {
case Read(WebSocketFrame.Text("end")) =>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/basic/websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import zio.http._
import zio.http.codec.PathCodec.string

object WebSocketEcho extends ZIOAppDefault {
private val socketApp: SocketApp[Any] =
private val socketApp: WebSocketApp[Any] =
Handler.webSocket { channel =>
channel.receiveAll {
case Read(WebSocketFrame.Text("FOO")) =>
Expand Down

0 comments on commit dc2f3f9

Please sign in to comment.