DuplexTransport.protocol - multiple declarations

Function DuplexTransport.protocol

abstract Protocol protocol() pure nothrow @property @nogc @safe;

Returns

Application protocol.

Postcondition

protocol !is null

Function DuplexTransport.protocol

Switches the protocol.

abstract void protocol (
  Protocol protocol
) pure nothrow @property @nogc @safe;

The protocol is deallocated by the event loop.

Parameters

NameDescription
protocol Application protocol.

Precondition

protocol !is null