Ejemplo n.º 1
0
        protected virtual void ReceiveNewSessionTicketMessage(MemoryStream buf)
        {
            NewSessionTicket newSessionTicket = NewSessionTicket.Parse((Stream)(object)buf);

            TlsProtocol.AssertEmpty(buf);
            mTlsClient.NotifyNewSessionTicket(newSessionTicket);
        }
        protected virtual void ReceiveNewSessionTicketMessage(MemoryStream buf)
        {
            if (HTTPManager.Logger.Level <= Loglevels.All)
            {
                HTTPManager.Logger.Verbose("TlsClientProtocol", "ReceiveNewSessionTicketMessage", this.LoggingContext);
            }

            NewSessionTicket newSessionTicket = NewSessionTicket.Parse(buf);

            AssertEmpty(buf);

            mTlsClient.NotifyNewSessionTicket(newSessionTicket);
        }