From 50d8f27094636f75495e7b64adf6e17d109fee27 Mon Sep 17 00:00:00 2001 From: Kevin Delannoy Date: Tue, 30 Apr 2019 18:12:17 -0400 Subject: [PATCH] Made the websocket public --- Sources/ApolloWebSocket/WebSocketTransport.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/ApolloWebSocket/WebSocketTransport.swift b/Sources/ApolloWebSocket/WebSocketTransport.swift index c72aa17399..5899f36cda 100644 --- a/Sources/ApolloWebSocket/WebSocketTransport.swift +++ b/Sources/ApolloWebSocket/WebSocketTransport.swift @@ -26,8 +26,9 @@ public class WebSocketTransport { public weak var delegate: WebSocketTransportDelegate? let reconnect: Atomic - var websocket: ApolloWebSocketClient + public private(set) var websocket: ApolloWebSocketClient let error: Atomic = Atomic(nil) + let serializationFormat = JSONSerializationFormat.self private let requestCreator: RequestCreator