cleanup and document
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -67,11 +67,11 @@ namespace Assets.Scripts
|
||||
samples.Add(sJ);
|
||||
}
|
||||
body.Add("samples", samples);
|
||||
using (var client = new WebClient())
|
||||
{
|
||||
client.Headers[HttpRequestHeader.ContentType] = "application/json";
|
||||
client.UploadStringAsync(new Uri("http://home.superpichu.org:9009"), body.ToString());
|
||||
}
|
||||
//using (var client = new WebClient())
|
||||
//{
|
||||
// client.Headers[HttpRequestHeader.ContentType] = "application/json";
|
||||
// client.UploadStringAsync(new Uri("http://home.superpichu.org:9009"), body.ToString());
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@ namespace Assets.Scripts
|
||||
public int TrialIndex { get; set; }
|
||||
public int DotIndex { get; set; }
|
||||
public long Timestamp { get; set; }
|
||||
public int DotSize = 100;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user