Skip to content

Commit

Permalink
Revert "Made the websocket public"
Browse files Browse the repository at this point in the history
This reverts commit 50d8f27.
We already have the connect() and disconnect() methods.
  • Loading branch information
ketenshi committed Mar 3, 2020
1 parent ef1fad4 commit e8a8244
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/ApolloWebSocket/WebSocketTransport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ public class WebSocketTransport {
public weak var delegate: WebSocketTransportDelegate?

let reconnect: Atomic<Bool>
public private(set) var websocket: ApolloWebSocketClient
var websocket: ApolloWebSocketClient
let error: Atomic<Error?> = Atomic(nil)

let serializationFormat = JSONSerializationFormat.self
private let requestCreator: RequestCreator

Expand Down

0 comments on commit e8a8244

Please sign in to comment.