Skip to content

Commit

Permalink
Fix formatting issue (#9778)
Browse files Browse the repository at this point in the history
Follow-up #9761
  • Loading branch information
Brian J. Cardiff authored Sep 29, 2020
1 parent bdbd386 commit 5d1a722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/web_socket.cr
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ class HTTP::WebSocket

# Continuously receives messages and calls previously set callbacks until the websocket is closed.
# Ping and pong messages are automatically handled.
#
#
# ```
# # Open websocket connection
# ws = WebSocket.new(uri)
#
#
# # Set callback
# ws.on_message do |msg|
# ws.send "response"
Expand Down

0 comments on commit 5d1a722

Please sign in to comment.