Cleanup network module.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Cryville.Common.Network;
|
||||
using Cryville.Common.Network.Http11;
|
||||
using Cryville.Common.Unity;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
@@ -21,7 +21,7 @@ namespace Cryville.Crtr.Network {
|
||||
List<VersionInfo> _versions;
|
||||
public void CheckVersion() {
|
||||
try {
|
||||
var client = new HttpsClient(BaseUri);
|
||||
var client = new Https11Client(BaseUri);
|
||||
client.Connect();
|
||||
var response = client.Request("GET", new Uri(BaseUri, "versions"));
|
||||
var data = Encoding.UTF8.GetString(response.MessageBody.ReadToEnd());
|
||||
|
Reference in New Issue
Block a user