Skip to content

Commit

Permalink
Merge branch 'release-0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Valbrand committed Apr 18, 2017
2 parents 28ba869 + 0e1c0d2 commit 80edba4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Sources/Tibei/server/ServerMessenger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public class ServerMessenger: Messenger {
connection.sendMessage(message)
}

public func broadcastMessage<Message: JSONConvertibleMessage>(_ message: Message){
for (_, connection) in self.connections{
connection.sendMessage(message)
}
}
}

// MARK: - ConnectionDelegate protocol
Expand Down
2 changes: 1 addition & 1 deletion Tibei.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Tibei'
s.version = '0.1.3'
s.version = '0.2'
s.summary = 'A Bonjour-powered library to simplify communication between devices.'

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit 80edba4

Please sign in to comment.