forked from worthingtonse/CloudCoinCore4
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathResponse.cs
More file actions
28 lines (25 loc) · 737 Bytes
/
Response.cs
File metadata and controls
28 lines (25 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
public class Response
{
public string fullRequest;
public string fullResponse;
public bool success;
public string outcome;
public int milliseconds;
public Response(bool success, string outcome, int milliseconds, string fullRequest, string fullResponse)
{
this.success = success;
this.outcome = outcome;
this.milliseconds = milliseconds;
this.fullRequest = fullRequest;
this.fullResponse = fullResponse;
}
public Response()
{
this.success = false;
this.outcome = "not used";
this.milliseconds = 0;
this.fullRequest = "No request";
this.fullResponse = "No response";
}
}