report stream state

This commit is contained in:
badaix 2016-03-06 22:30:23 +01:00
parent cd2daa2cf9
commit 94629f9909
9 changed files with 79 additions and 12 deletions

View file

@ -108,14 +108,14 @@ ReaderUri::ReaderUri(const std::string& readerUri)
json ReaderUri::toJson() const
{
json j;
j["uri"] = uri;
j["scheme"] = scheme;
j["host"] = host;
j["path"] = path;
j["fragment"] = fragment;
j["query"] = json(query);
j["id"] = id_;
json j = {
{"raw", uri},
{"scheme", scheme},
{"host", host},
{"path", path},
{"fragment", fragment},
{"query", query}
};
return j;
}