availableSendBuffer
TypeScriptget availableSendBuffer(): numberSwift declarationvar availableSendBuffer: UInt32 { get }Access the current number of bytes in TCP's send buffer (SO_NWRITE).
class · iOS 12.0+ · SDK 27.1
class MetadataAccess TCP metadata using NWConnection.metadata(protocolDefinition: NWProtocolTCP.definition) or in received ContentContext
get availableSendBuffer(): numberSwift declarationvar availableSendBuffer: UInt32 { get }Access the current number of bytes in TCP's send buffer (SO_NWRITE).
get availableReceiveBuffer(): numberSwift declarationvar availableReceiveBuffer: UInt32 { get }Access the current number of bytes in TCP's receive buffer (SO_NREAD).
setMaximumPacingRateBytesPerSecond(maximumPacingRateBytesPerSecond?: (number) | null): voidSwift declarationfunc setMaximumPacingRateBytesPerSecond(_ maximumPacingRateBytesPerSecond: UInt64?)Set the maximum pacing rate for this TCP connection, in bytes per second. TCP pacing spreads out packet transmission to avoid bursts and reduce network congestion. The actual on-wire rate is the minimum of this cap and the rate computed from the congestion window and RTT, so this value never increases throughput above what congestion control allows. Pass `nil` to disable pacing on this connection — the connection will send without pacing (subject only to congestion control). - Parameter maximumPacingRateBytesPerSecond: Maximum pacing rate in bytes per second, or `nil` to disable pacing.
No declarations were skipped in this snapshot.