Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Networking #200

Merged
merged 12 commits into from
May 10, 2022
Merged

Networking #200

merged 12 commits into from
May 10, 2022

Conversation

llbartekll
Copy link
Contributor

@llbartekll llbartekll commented May 9, 2022

  • replaces URLSession with Starscream

@llbartekll llbartekll requested a review from sekimondre May 9, 2022 12:16
@@ -15,29 +16,32 @@ final class Dispatcher: NSObject, Dispatching {
var onDisconnect: (() -> ())?
var onMessage: ((String) -> ())?
private var textFramesQueue = Queue<String>()
var socket: WebSocketSessionProtocol
var socketConnectionObserver: SocketConnectionObserving
private let logger: ConsoleLogging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger doesn't seem to be used in here right now, can't it be removed?

Comment on lines 1 to 15
//
//import Foundation
//@testable import Relayer
//
//class WebSocketConnectingMock: WebSocketConnecting {
// var isConnected: Bool = false
//
// func connect() {
// isConnected = true
// }
//
// func disconnect() {
// isConnected = false
// }
//}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be removed already?

@llbartekll llbartekll merged commit b331346 into develop May 10, 2022
@llbartekll llbartekll deleted the networking branch May 10, 2022 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants