Skip to content

Commit 041eda1

Browse files
authored
Merge pull request swiftlang#23105 from moiseev/max-datagram-size-abi
Add availability annotations to NWConnection.maximumDatagramSize
2 parents fae2d1b + 52c6e03 commit 041eda1

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)