AppMetrics.Client.Tracker.SendPacket C# (CSharp) 메소드

SendPacket() 정적인 개인적인 메소드

static private SendPacket ( string url, string accessKey, string appKey, string packet ) : void
url string
accessKey string
appKey string
packet string
리턴 void
        static void SendPacket(string url, string accessKey, string appKey, string packet)
        {
            var args = new Dictionary<string, string>()
                {
                    { "AccessKey", accessKey },
                    { "MessageAppKey", appKey },
                    { "MessagesList", packet },
                };

            var responseText = HttpUtil.Request(url, args, "POST");

            CountNewRequest();
            if (!string.IsNullOrEmpty(responseText))
                throw new ApplicationException(responseText);
        }