Contents

init(_:)

Create an instance of the WebSocket protocol.

Declaration

init<BelowProtocol>(@ProtocolStackBuilder<BelowProtocol> _ builder: () -> BelowProtocol) where BelowProtocol : StreamProtocol

Parameters

  • builder:

    The protocol stack below WebSocket.