From e8a824436b0375f9a624f56c6fa6994018a7df59 Mon Sep 17 00:00:00 2001 From: Eugene Kwong Date: Tue, 3 Mar 2020 10:22:46 -0500 Subject: [PATCH] Revert "Made the websocket public" This reverts commit 50d8f27094636f75495e7b64adf6e17d109fee27. We already have the connect() and disconnect() methods. --- Sources/ApolloWebSocket/WebSocketTransport.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/ApolloWebSocket/WebSocketTransport.swift b/Sources/ApolloWebSocket/WebSocketTransport.swift index bb981abd55..2af819c8b8 100644 --- a/Sources/ApolloWebSocket/WebSocketTransport.swift +++ b/Sources/ApolloWebSocket/WebSocketTransport.swift @@ -28,9 +28,8 @@ public class WebSocketTransport { public weak var delegate: WebSocketTransportDelegate? let reconnect: Atomic - public private(set) var websocket: ApolloWebSocketClient + var websocket: ApolloWebSocketClient let error: Atomic = Atomic(nil) - let serializationFormat = JSONSerializationFormat.self private let requestCreator: RequestCreator