skip to Main Content

How do I sort two Json strings with different types?

Please tell me how to check which json was received. The VK API server sends a normal response: { "ts": "209", "updates": [{ "event_id": "0237692ceafd3e", "group_id": 00000001, "object": { "client_info": { "button_actions": ["text", "vkpay", "open_app", "location", "open_link", "callback", "intent_subscribe", "intent_unsubscribe"],…

VIEW QUESTION

Ubuntu – How to send multiple requests to a server at few milliseconds of interval in C#

I have a code that looks like this: public static async Task<Request> SendRequest(Client client, DateTime startTime, int offset) { TimeSpan timeToWait = startTime - DateTime.UtcNow + TimeSpan.FromMilliseconds(offset); await Task.Delay(timeToWait); Console.Write(offset); Request request = client.sendRequest(); } async static public Task<Request> SendMultiple(Client…

VIEW QUESTION
Back To Top
Search