summaryrefslogtreecommitdiff
path: root/include/asterisk/stasis_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/stasis_http.h')
-rw-r--r--include/asterisk/stasis_http.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/stasis_http.h b/include/asterisk/stasis_http.h
index cc0ceeee4..f81a206e6 100644
--- a/include/asterisk/stasis_http.h
+++ b/include/asterisk/stasis_http.h
@@ -163,6 +163,12 @@ void stasis_http_response_ok(struct stasis_http_response *response,
void stasis_http_response_no_content(struct stasis_http_response *response);
/*!
+ * \brief Fill in a <tt>Created</tt> (201) \a stasis_http_response.
+ */
+void stasis_http_response_created(struct stasis_http_response *response,
+ const char *url);
+
+/*!
* \brief Fill in \a response with a 500 message for allocation failures.
* \param response Response to fill in.
*/