Skip to content

Commit

Permalink
Kitura/Kitura#33 Added rest of WebSocketService functions to the prot…
Browse files Browse the repository at this point in the history
…ocol
  • Loading branch information
shmuelk committed Nov 3, 2016
1 parent 2587b3d commit b396a72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/KituraWebSocket/WebSocketService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

import Foundation

public protocol WebSocketService {
public protocol WebSocketService: class {
func connected(client: WebSocketClient)
func disconnected(client: WebSocketClient)
func received(message: Data, from: WebSocketClient)
func received(message: String, from: WebSocketClient)
}

0 comments on commit b396a72

Please sign in to comment.