From: Michael Wallner Date: Fri, 22 Jul 2005 12:39:12 +0000 (+0000) Subject: - example X-Git-Tag: RELEASE_0_10_0~21 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=0d84055a1b044e267dc52ace7b7ecfd3ede4fd3c - example --- diff --git a/http_response_object.c b/http_response_object.c index 5ca8edd..28d662a 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -179,6 +179,8 @@ static inline void _http_response_object_declare_default_properties(TSRMLS_D) DCL_STATIC_PROP_N(PROTECTED, contentDisposition); DCL_STATIC_PROP(PROTECTED, long, bufferSize, HTTP_SENDBUF_SIZE); DCL_STATIC_PROP(PROTECTED, double, throttleDelay, 0.0); + + DCL_STATIC_PROP(PUBLIC, string, dummy, "EMPTY"); } /* ### USERLAND ### */ @@ -583,6 +585,17 @@ PHP_METHOD(HttpResponse, getFile) /* {{{ proto bool HttpResponse::send([bool clean_ob = true]) * * Finally send the entity. + * + * Example: + *
+ * 
+ * 
*/ PHP_METHOD(HttpResponse, send) {