private void HandlingResponse(Response response)
        {
            ResponseEvent.WriteBufferResponse(response);

            switch (response.Request)
            {
            case SendMessage m:

                this.HandlingMessage(response.Content);

                break;


            case Identification i:

                if (response.Content is Dictionary <long, Message> )
                {
                    HandlingTopicMessages((Dictionary <long, Message>)response.Content);
                }


                break;
            }
        }
 private void HandlingResponse(Response response)
 {
     ResponseEvent.WriteBufferResponse(response);
 }