Пример #1
0
        public virtual void Goodbye(IWampSessionClient client, GoodbyeDetails details, string reason)
        {
            IWampClientProxy <TMessage> wampClient = client as IWampClientProxy <TMessage>;

            if (!wampClient.GoodbyeSent)
            {
                wampClient.SendGoodbye(details, WampErrors.CloseNormal);
            }
        }
 public override void Disconnect(GoodbyeDetails details, string reason)
 {
     mClientProxy.SendGoodbye(details, reason);
 }