Skip to content

Commit 52c6e03

Browse files
committed
Add availability annotations to NWConnection.maximumDatagramSize
Since it did not exist pre-ABI. <rdar://problem/48314607>
1 parent 5ec8f96 commit 52c6e03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Darwin/Network/NWConnection.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public final class NWConnection : CustomDebugStringConvertible {
110110
/// Retrieve the maximum datagram size that can be sent
111111
/// on the connection. Any datagrams sent should be less
112112
/// than or equal to this size.
113+
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
113114
public var maximumDatagramSize: Int {
114115
get {
115116
return Int(nw_connection_get_maximum_datagram_size(self.nw))

0 commit comments

Comments
 (0)