n><span class="bp">self</span><span class="p">)</span> <span
        class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;发送心跳包。</span>

<span class="sd">        Returns:</span>
<span class="sd">            bool: 成功返回True，否则返回False</span>

<span class="sd">        Raises:</span>
<span class="sd">            UserLoggedOut: 如果未登录时调用</span>
<span class="sd">            根据er