2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2005, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
15 #ifndef PHP_HTTP_RESPONSE_OBJECT_H
16 #define PHP_HTTP_RESPONSE_OBJECT_H
20 extern zend_class_entry
*http_response_object_ce
;
21 extern zend_function_entry http_response_object_fe
[];
23 extern PHP_MINIT_FUNCTION(http_response_object
);
25 PHP_METHOD(HttpResponse
, setHeader
);
26 PHP_METHOD(HttpResponse
, getHeader
);
27 PHP_METHOD(HttpResponse
, setETag
);
28 PHP_METHOD(HttpResponse
, getETag
);
29 PHP_METHOD(HttpResponse
, setLastModified
);
30 PHP_METHOD(HttpResponse
, getLastModified
);
31 PHP_METHOD(HttpResponse
, setContentDisposition
);
32 PHP_METHOD(HttpResponse
, getContentDisposition
);
33 PHP_METHOD(HttpResponse
, setContentType
);
34 PHP_METHOD(HttpResponse
, getContentType
);
35 PHP_METHOD(HttpResponse
, guessContentType
);
36 PHP_METHOD(HttpResponse
, setCache
);
37 PHP_METHOD(HttpResponse
, getCache
);
38 PHP_METHOD(HttpResponse
, setCacheControl
);
39 PHP_METHOD(HttpResponse
, getCacheControl
);
40 PHP_METHOD(HttpResponse
, setGzip
);
41 PHP_METHOD(HttpResponse
, getGzip
);
42 PHP_METHOD(HttpResponse
, setThrottleDelay
);
43 PHP_METHOD(HttpResponse
, getThrottleDelay
);
44 PHP_METHOD(HttpResponse
, setBufferSize
);
45 PHP_METHOD(HttpResponse
, getBufferSize
);
46 PHP_METHOD(HttpResponse
, setData
);
47 PHP_METHOD(HttpResponse
, getData
);
48 PHP_METHOD(HttpResponse
, setFile
);
49 PHP_METHOD(HttpResponse
, getFile
);
50 PHP_METHOD(HttpResponse
, setStream
);
51 PHP_METHOD(HttpResponse
, getStream
);
52 PHP_METHOD(HttpResponse
, send
);
53 PHP_METHOD(HttpResponse
, capture
);
54 PHP_METHOD(HttpResponse
, redirect
);
55 PHP_METHOD(HttpResponse
, status
);
56 PHP_METHOD(HttpResponse
, getRequestHeaders
);
57 PHP_METHOD(HttpResponse
, getRequestBody
);
68 * vim600: noet sw=4 ts=4 fdm=marker
69 * vim<600: noet sw=4 ts=4