ConnectFlags.willRetain

This bit specifies if the Will Message is to be Retained when it is published.

If the Will Flag is set to 0, then the Will Retain Flag MUST be set to 0. If the Will Flag is set to 1: If Will Retain is set to 0, the Server MUST publish the Will Message as a non-retained message. If Will Retain is set to 1, the Server MUST publish the Will Message as a retained message

  1. bool willRetain [@property getter]
    struct ConnectFlags
    @safe pure @nogc nothrow @property const
    bool
    willRetain
    ()
  2. bool willRetain [@property setter]

Meta