projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- send a content-length header if we send the full plain data
[m6w6/ext-http]
/
php_http_response_object.h
diff --git
a/php_http_response_object.h
b/php_http_response_object.h
index 9767b5ae04ca446f209f7197c498c5f384c912b5..8a8e41ba9b1f14e2a89484a0135535c5f889e580 100644
(file)
--- a/
php_http_response_object.h
+++ b/
php_http_response_object.h
@@
-19,23
+19,20
@@
#define PHP_HTTP_RESPONSE_OBJECT_H
#ifdef ZEND_ENGINE_2
#define PHP_HTTP_RESPONSE_OBJECT_H
#ifdef ZEND_ENGINE_2
-typedef struct {
- zend_object zo;
-} http_response_object;
+extern HashTable http_response_statics;
extern zend_class_entry *http_response_object_ce;
extern zend_function_entry http_response_object_fe[];
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
+#define http_response_object_init
() _http_response_object_init(INIT_FUNC_ARGS_PASSTHRU)
extern void _http_response_object_init(INIT_FUNC_ARGS);
extern void _http_response_object_init(INIT_FUNC_ARGS);
-#define http_response_object_new _http_response_object_new
-extern zend_object_value _http_response_object_new(zend_class_entry *ce TSRMLS_DC);
-#define http_response_object_free _http_response_object_free
-extern void _http_response_object_free(zend_object *object TSRMLS_DC);
-PHP_METHOD(HttpResponse, __construct);
+PHP_METHOD(HttpResponse, setHeader);
+PHP_METHOD(HttpResponse, getHeader);
PHP_METHOD(HttpResponse, setETag);
PHP_METHOD(HttpResponse, getETag);
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);
PHP_METHOD(HttpResponse, setContentDisposition);
PHP_METHOD(HttpResponse, getContentDisposition);
PHP_METHOD(HttpResponse, setContentType);
@@
-46,6
+43,10
@@
PHP_METHOD(HttpResponse, setCacheControl);
PHP_METHOD(HttpResponse, getCacheControl);
PHP_METHOD(HttpResponse, setGzip);
PHP_METHOD(HttpResponse, getGzip);
PHP_METHOD(HttpResponse, getCacheControl);
PHP_METHOD(HttpResponse, setGzip);
PHP_METHOD(HttpResponse, getGzip);
+PHP_METHOD(HttpResponse, setThrottleDelay);
+PHP_METHOD(HttpResponse, getThrottleDelay);
+PHP_METHOD(HttpResponse, setBufferSize);
+PHP_METHOD(HttpResponse, getBufferSize);
PHP_METHOD(HttpResponse, setData);
PHP_METHOD(HttpResponse, getData);
PHP_METHOD(HttpResponse, setFile);
PHP_METHOD(HttpResponse, setData);
PHP_METHOD(HttpResponse, getData);
PHP_METHOD(HttpResponse, setFile);
@@
-53,6
+54,11
@@
PHP_METHOD(HttpResponse, getFile);
PHP_METHOD(HttpResponse, setStream);
PHP_METHOD(HttpResponse, getStream);
PHP_METHOD(HttpResponse, send);
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
#endif