Skip to content
Snippets Groups Projects

Update Bindings

2 files
+ 7
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -4,15 +4,18 @@ public struct BroadcastMessage: Equatable {
public init(
roundId: Int,
ephId: [Int],
roundURL: String,
payload: Data
) {
self.roundId = roundId
self.ephId = ephId
self.roundURL = roundURL
self.payload = payload
}
public var roundId: Int
public var ephId: [Int]
public var roundURL: String
public var payload: Data
}
@@ -20,6 +23,7 @@ extension BroadcastMessage: Codable {
enum CodingKeys: String, CodingKey {
case roundId = "RoundID"
case ephId = "EphID"
case roundURL = "RoundURL"
case payload = "Payload"
}
Loading