X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=8a8e41ba9b1f14e2a89484a0135535c5f889e580;hp=b114538f6de90d62a165f0371710057c92fcc3ef;hb=a347d63a12d0863cf848c2e4ffa891fe827e29bb;hpb=6deee2e3d2d6282dd76e3725fe2de6c7833bd57f diff --git a/php_http_response_object.h b/php_http_response_object.h index b114538..8a8e41b 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -19,14 +19,20 @@ #define PHP_HTTP_RESPONSE_OBJECT_H #ifdef ZEND_ENGINE_2 +extern HashTable http_response_statics; + 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); @@ -50,8 +56,7 @@ PHP_METHOD(HttpResponse, getStream); PHP_METHOD(HttpResponse, send); PHP_METHOD(HttpResponse, capture); PHP_METHOD(HttpResponse, redirect); -PHP_METHOD(HttpResponse, sendStatus); -PHP_METHOD(HttpResponse, sendHeader); +PHP_METHOD(HttpResponse, status); PHP_METHOD(HttpResponse, getRequestHeaders); PHP_METHOD(HttpResponse, getRequestBody);