Skip to content

Instantly share code, notes, and snippets.

@Yerazhas
Created February 4, 2020 15:37
Show Gist options
  • Select an option

  • Save Yerazhas/1f3cf7f8669eccfb70d9dbe91a48c770 to your computer and use it in GitHub Desktop.

Select an option

Save Yerazhas/1f3cf7f8669eccfb70d9dbe91a48c770 to your computer and use it in GitHub Desktop.
import Foundation
protocol CFMessagesSocket: class {
var delegate: CFSocketClientDelegate? { get set }
func connect()
func disconnect()
func sendMessage(message: String)
func sendMessage(data: Data)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment