Schedules a single receive completion handler, with a range indicating how many bytes the handler can receive at one time.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 6.0+
- Xcode 10.0+
The minimum length to receive from the connection, until the content is complete.
The maximum length to receive from the connection in a single completion.
A receive completion is invoked exactly once for a call to receive. The completion indicates that the requested content has been received (in which case the content is delivered), or that an error has occurred.
The completion delivers the received content, which may be nil if the message is complete or an error occurred, the message context, a flag indicating if the message is complete, and any associated error.