summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/LuaHttp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc
index 6b376a6..0b9cc22 100644
--- a/lib/LuaHttp.cc
+++ b/lib/LuaHttp.cc
@@ -37,6 +37,7 @@ class sLua_HttpResponse : public Base {
DECLARE_METHOD(HttpResponse, HTTPRESPONSE_NEWINDEX);
DECLARE_FUNCTION(HttpResponse, HTTPRESPONSE_NEWHTTPRESPONSE);
+ DECLARE_FUNCTION(HttpResponse, HTTPRESPONSE_REGISTERDOMAIN);
private:
static int HttpResponse_proceed(Lua * L, int n, HttpResponse * obj, int caller);
static int HttpResponse_proceed_statics(Lua * L, int n, int caller);
@@ -54,6 +55,7 @@ void LuaHttpResponse::pushstatics(Lua * L) throw (GeneralException) {
CHECK_FUNCTIONS(HttpResponse);
PUSH_FUNCTION(HttpResponse, HTTPRESPONSE_NEWHTTPRESPONSE);
+ PUSH_FUNCTION(HttpResponse, HTTPRESPONSE_REGISTERDOMAIN);
export_enum(L, HTTP_200_OK);
export_enum(L, HTTP_301_PERM_MOVED);