summaryrefslogtreecommitdiff
path: root/src/include/taler_twister_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_twister_service.h')
-rw-r--r--src/include/taler_twister_service.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_twister_service.h b/src/include/taler_twister_service.h
index 13b289d..6583fd9 100644
--- a/src/include/taler_twister_service.h
+++ b/src/include/taler_twister_service.h
@@ -115,6 +115,25 @@ TALER_TWISTER_modify_path_ul (struct TALER_TWISTER_Handle *h,
/**
+ * Change the HTTP response header of @a header to @a value.
+ *
+ * @param h twister instance to control
+ * @param header the HTTP response header to modify
+ * @param value value to use for @a header
+ * @param cb callback to call once twister gets this instruction.
+ * @param cb_cls closure for @a cb_callback
+ *
+ * @return operation handle.
+ */
+struct TALER_TWISTER_Operation *
+TALER_TWISTER_modify_header_dl (struct TALER_TWISTER_Handle *h,
+ const char *header,
+ const char *value,
+ GNUNET_SCHEDULER_TaskCallback cb,
+ void *cb_cls);
+
+
+/**
* Instruct the twister to flip a character into
* the string JSON field that belongs to the object
* being returned to the HTTP client.