X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=6472a318235ce51c72d2b57e69104b79a96c204b;hp=f61513842d1d833885d99bac80df375ae546f002;hb=1769e9db4255b1e6d02ac566deabe1b9e24eb7cd;hpb=89572c25844ea2a641a6bef11b2cd1e1be699282 diff --git a/php_http_response_object.h b/php_http_response_object.h index f615138..6472a31 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -19,14 +19,22 @@ #define PHP_HTTP_RESPONSE_OBJECT_H #ifdef ZEND_ENGINE_2 +#include "missing.h" + +#ifndef WONKY + extern zend_class_entry *http_response_object_ce; extern zend_function_entry http_response_object_fe[]; #define http_response_object_init() _http_response_object_init(INIT_FUNC_ARGS_PASSTHRU) extern void _http_response_object_init(INIT_FUNC_ARGS); +PHP_METHOD(HttpResponse, setHeader); +PHP_METHOD(HttpResponse, getHeader); PHP_METHOD(HttpResponse, setETag); PHP_METHOD(HttpResponse, getETag); +PHP_METHOD(HttpResponse, setLastModified); +PHP_METHOD(HttpResponse, getLastModified); PHP_METHOD(HttpResponse, setContentDisposition); PHP_METHOD(HttpResponse, getContentDisposition); PHP_METHOD(HttpResponse, setContentType); @@ -48,7 +56,13 @@ PHP_METHOD(HttpResponse, getFile); PHP_METHOD(HttpResponse, setStream); PHP_METHOD(HttpResponse, getStream); PHP_METHOD(HttpResponse, send); +PHP_METHOD(HttpResponse, capture); +PHP_METHOD(HttpResponse, redirect); +PHP_METHOD(HttpResponse, status); +PHP_METHOD(HttpResponse, getRequestHeaders); +PHP_METHOD(HttpResponse, getRequestBody); +#endif #endif #endif