ZFFramework
 
Loading...
Searching...
No Matches
ZFIO_http.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFIO_http_h_
7#define _ZFI_ZFIO_http_h_
8
9#include "ZFHttpRequest.h"
11
18
19// ============================================================
20// ZFInputForHttp
25 , ZFMP_IN(const zfstring &, url)
26 ) {
27 ZFInput ret;
29 return ret;
30}
31
36 , ZFMP_IN(ZFHttpResponse *, recv)
37 )
38
40#endif // #ifndef _ZFI_ZFIO_http_h_
41
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
http operation
ZFInput ZFInputForHttp(const zfstring &url)
util to create a http file input callback
Definition ZFIO_http.h:26
const zfstring & ZFPathType_http()
see ZFPathInfo
zfbool ZFHttpIsDir(ZFHttpResponse *recv)
util method to check whether specified http response should be treated as dir
#define ZFIO_DECLARE(ZFLIB_, pathType)
see ZFIOImplForPathType
Definition ZFIODef_fwd.h:515
zfbool ZFInputForPathInfoT(ZFCallback &ret, const ZFPathInfo &pathInfo)
see ZFInputForPathInfo
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_INLINE_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:692
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define ZFLIB_ZFNet
used to export symbols
Definition ZFNetDef.h:15
see ZFHttpRequest
Definition ZFHttpRequest.h:43
general input callback
Definition ZFIOCallback_input.h:36
path related info storage for impl, actual meaning of the info depends on impl
Definition ZFPathInfo.h:34