28 lines
720 B
C#
28 lines
720 B
C#
using Getf.Service.Transfer.Client.WinService.HttpHandler;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Getf.Service.Transfer.Client.WinService.Test
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
/*HttpService httpService = new HttpService();
|
|
var json = "{\"Head\":{\"A\":\"b\",\"C\":1}}";
|
|
|
|
var r = httpService.DoRequest("http://www.baidu.com", "post", JsonConvert.DeserializeObject<JObject>(json), out string msg);*/
|
|
|
|
/*ClientService clientService = new ClientService();
|
|
clientService.Start();*/
|
|
Service1 service1 = new Service1();
|
|
service1.Debug();
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|