Contents

send(_:)

Sends data to a remote application.

Declaration

final func send(_ data: Data) async throws

Parameters

  • data:

    The data to send to the remote application.

Mentioned in

Discussion

Calling this function again before a previous send completes is safe; multiple send operations can be in-flight concurrently.