Contents

receive()

Receive data from a connection.

Declaration

func receive() async throws -> ApplicationProtocol.Message<Data>

Discussion

This may be called before the connection is ready, in which case the receive request will be enqueued until the connection is ready.