Skip to content

Commit 42e4916

Browse files
authored
Request-Response Streaming Operation (#335)
1 parent 9a02823 commit 42e4916

File tree

3 files changed

+460
-77
lines changed

3 files changed

+460
-77
lines changed

Source/AwsCommonRuntimeKit/mqtt/Mqtt5Packets.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ func convertOptionalUserProperties(
6666
return userProperties
6767
}
6868

69+
extension UserProperty: Equatable {
70+
static public func == (lhs: UserProperty, rhs: UserProperty) -> Bool {
71+
return lhs.name == rhs.name && lhs.value == rhs.value
72+
}
73+
}
74+
6975
// We can't mutate this class after initialization. Swift can not verify the sendability due to the class is non-final,
7076
// so mark it unchecked Sendable
7177
/// Data model of an `MQTT5 PUBLISH <https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901100>`_ packet

0 commit comments

Comments
 (0)