diff --git a/README.md b/README.md index 6c75a18b..004fcd50 100644 --- a/README.md +++ b/README.md @@ -351,7 +351,7 @@ In most cases you do not need the extra info and should use the normal delegate. #### websocketDidReceiveMessage ```swift -func websocketDidReceiveMessage(socket: WebSocketClient, text: String, response: WebSocket.WSResponse { +func websocketDidReceiveMessage(socket: WebSocketClient, text: String, response: WebSocket.WSResponse) { print("got some text: \(text)") print("First frame for this message arrived on \(response.firstFrame)") }