12 auto back = std::back_insert_iterator(answer);
15 answer.append(
"\t\"protocol_end\":\"");
16 helpers::encode_json(std::to_string(
protocol_end), back);
17 answer.append(
"\",\n");
19 answer.append(
"\t\"username_end\":\"");
20 helpers::encode_json(std::to_string(
username_end), back);
21 answer.append(
"\",\n");
23 answer.append(
"\t\"host_start\":\"");
24 helpers::encode_json(std::to_string(
host_start), back);
25 answer.append(
"\",\n");
27 answer.append(
"\t\"host_end\":\"");
28 helpers::encode_json(std::to_string(
host_end), back);
29 answer.append(
"\",\n");
31 answer.append(
"\t\"port\":\"");
32 helpers::encode_json(std::to_string(
port), back);
33 answer.append(
"\",\n");
35 answer.append(
"\t\"pathname_start\":\"");
37 answer.append(
"\",\n");
39 answer.append(
"\t\"search_start\":\"");
40 helpers::encode_json(std::to_string(
search_start), back);
41 answer.append(
"\",\n");
43 answer.append(
"\t\"hash_start\":\"");
44 helpers::encode_json(std::to_string(
hash_start), back);
45 answer.append(
"\",\n");