aboutsummaryrefslogtreecommitdiffstats
path: root/amalgamate/crow_all.h
diff options
context:
space:
mode:
Diffstat (limited to 'amalgamate/crow_all.h')
-rw-r--r--amalgamate/crow_all.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/amalgamate/crow_all.h b/amalgamate/crow_all.h
index 792975c..5aa6a83 100644
--- a/amalgamate/crow_all.h
+++ b/amalgamate/crow_all.h
@@ -6274,6 +6274,10 @@ namespace crow
{
json_mode();
}
+ response(int code, const json::wvalue& json_value) : code(code), body(json::dump(json_value))
+ {
+ json_mode();
+ }
response(response&& r)
{