From 74fa4142d618530db4b2ed942c3d54c37b9594ca Mon Sep 17 00:00:00 2001 From: Erik Date: Sun, 7 May 2017 11:44:09 -0400 Subject: [PATCH] update docs --- docs/Classes.html | 7 +- docs/Classes/OnAckCallback.html | 7 +- docs/Classes/SSLCert.html | 7 +- docs/Classes/SSLSecurity.html | 7 +- docs/Classes/SocketAckEmitter.html | 9 +- docs/Classes/SocketAnyEvent.html | 7 +- docs/Classes/SocketClientManager.html | 7 +- docs/Classes/SocketEngine.html | 7 +- docs/Classes/SocketIOClient.html | 79 +++- docs/Classes/WebSocket.html | 7 +- docs/Classes/WebSocket/CloseCode.html | 7 +- docs/Enums.html | 39 +- docs/Enums/SocketAckStatus.html | 7 +- docs/Enums/SocketClientEvent.html | 384 ++++++++++++++++++ docs/Enums/SocketEnginePacketType.html | 7 +- docs/Enums/SocketIOClientOption.html | 7 +- docs/Enums/SocketIOClientStatus.html | 7 +- docs/Global Variables.html | 7 +- docs/Protocols.html | 21 +- docs/Protocols/SSLTrustValidator.html | 7 +- docs/Protocols/SocketData.html | 257 ++++++++++++ docs/Protocols/SocketEngineClient.html | 7 +- docs/Protocols/SocketEnginePollable.html | 7 +- docs/Protocols/SocketEngineSpec.html | 7 +- docs/Protocols/SocketEngineWebsocket.html | 7 +- docs/Protocols/SocketLogger.html | 7 +- docs/Protocols/WebSocketDelegate.html | 7 +- docs/Protocols/WebSocketPongDelegate.html | 7 +- docs/Structs.html | 7 +- docs/Structs/SocketIOClientConfiguration.html | 7 +- docs/Typealiases.html | 7 +- docs/index.html | 9 +- docs/search.json | 2 +- 33 files changed, 910 insertions(+), 65 deletions(-) create mode 100644 docs/Enums/SocketClientEvent.html create mode 100644 docs/Protocols/SocketData.html diff --git a/docs/Classes.html b/docs/Classes.html index 81bbdef..612bf90 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -98,6 +98,9 @@ + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator +
  • +
    + + + + on(clientEvent:callback:) + +
    +
    +
    +
    +
    +
    +

    Adds a handler for a client event.

    + +

    Example:

    +
    socket.on(clientEvent: .connect) {data, ack in
    +    ...
    +}
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    open func on(clientEvent event: SocketClientEvent, callback: @escaping NormalCallback) -> UUID
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + event + + +
    +

    The event for this handler.

    +
    +
    + + callback + + +
    +

    The callback that will execute when this event is received.

    +
    +
    +
    +
    +

    Return Value

    +

    A unique id for the handler that can be used to remove it.

    +
    +
    +
    +
  • @@ -1691,7 +1762,7 @@ Can be used after disconnecting to break any potential remaining retain cycles.<
    diff --git a/docs/Classes/WebSocket.html b/docs/Classes/WebSocket.html index b8e4fc2..fab5bdb 100644 --- a/docs/Classes/WebSocket.html +++ b/docs/Classes/WebSocket.html @@ -99,6 +99,9 @@
  • + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -117,7 +120,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator + @@ -116,7 +119,7 @@ SSLTrustValidator