Contents

init(_:using:_:)

Create a Coder protocol.

Declaration

init<BelowProtocol>(_ type: Sending.Type, using: CoderType, @ProtocolStackBuilder<BelowProtocol> _ builder: () -> BelowProtocol) where BelowProtocol : DatagramProtocol

Parameters

  • type:

    The Codable type that will be sent and received.

  • builder:

    The protocol stack below Coder.