DuplexTransport.protocol

Switches the protocol.

The protocol is deallocated by the event loop.

  1. Protocol protocol [@property getter]
  2. Protocol protocol [@property setter]
    interface DuplexTransport
    @property pure nothrow @safe @nogc
    void
    protocol

Parameters

protocol Protocol

Application protocol.

Precondition: protocol !is null

Meta