Skip to content

Commit

Permalink
Merge pull request #438 from BlakeBarrett/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
daltoniam authored Dec 8, 2017
2 parents 06baac0 + 5866676 commit 7fad6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}
Expand Down

0 comments on commit 7fad6b3

Please sign in to comment.