Browse Source

Fixed documentation for SRWebSocketDelegate.

Nikita Lutsenko 9 năm trước cách đây
mục cha
commit
a944d5fcbb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      SocketRocket/SRWebSocket.h

+ 2 - 2
SocketRocket/SRWebSocket.h

@@ -385,8 +385,8 @@ extern NSString *const SRHTTPResponseErrorKey;
 /**
  Called when a pong data was received in response to ping.
 
- @param webSocket   An instance of `SRWebSocket` that received a pong frame.
- @param pongPayload Payload that was received or `nil` if there was no payload.
+ @param webSocket An instance of `SRWebSocket` that received a pong frame.
+ @param pongData  Payload that was received or `nil` if there was no payload.
  */
 - (void)webSocket:(SRWebSocket *)webSocket didReceivePong:(nullable NSData *)pongData;