1. ListenerLoop()
- Code: Select all
p.RawData = json;
p.Category = (string)jObject["category"];
p.Request = (string)jObject["request"];
p.StatusCode = (string)jObject["statuscode"];
There are case errors here. It should read p.rawdata, p.category, p.request, p.statuscode, all lower case.
2. ListenerLoop()
Variable json is never defined. It's unclear where this is coming from.
3. ListenerLoop()
- Code: Select all
isRunning = true;
- Code: Select all
bool isRunning = true;
4. ListenerLoop()
- Code: Select all
Console.Out.WriteLine("Error while reading response: " + ex.Message;
You are missing closing parentheses. It should read:
- Code: Select all
Console.Out.WriteLine("Error while reading response: " + ex.Message);
Doug Girard
Nirodha Software