src/t_htp_req.c
int
luaopen_t_htp_req( lua_State *L )
{
	// T.Http.Server instance metatable
	luaL_newmetatable( L, T_HTP_REQ_TYPE );
	luaL_setfuncs( L, t_htp_req_m, 0 );
	lua_setfield( L, -1, "__index" );

	// T.Http.Request class
	//luaL_newlib( L, t_htp_req_cf );
	//luaL_newlib( L, t_htp_req_fm );
	//lua_setmetatable( L, -2 );
	//return 1;
	return 0;
}
/**--------------------------------------------------------------------------
 * \brief   pushes this library onto the stack
 *          - creates Metatable with functions
 *          - creates metatable with methods
 * \param   L      The lua state.
 * \lreturn table  the library
 * \return  int    # of values pushed onto the stack.
 * --------------------------------------------------------------------------*/
\brief   pushes this library onto the stack
- creates Metatable with functions
- creates metatable with methods
\param   L      The lua state.
\lreturn table  the library
\return  int    # of values pushed onto the stack.
\ brief pushes this library onto the stack - creates Metatable with functions - creates metatable with methods \ param L The lua state . \ lreturn table the library \ return int # of values pushed onto the stack .
int
luaopen_t_htp_req( lua_State *L )
{
	luaL_newmetatable( L, T_HTP_REQ_TYPE );
	luaL_setfuncs( L, t_htp_req_m, 0 );
	lua_setfield( L, -1, "__index" );
	return 0;
}
int luaopen_t_htp_req ( lua_State * L ) { luaL_newmetatable ( L , T_HTP_REQ_TYPE ) ; luaL_setfuncs ( L , t_htp_req_m , 0 ) ; lua_setfield ( L , -1 , " " ) ; return 0 ; }
\brief   pushes this library onto the stack
          - creates Metatable with functions
          - creates metatable with methods
 \param   L      The lua state.
\ brief pushes this library onto the stack - creates Metatable with functions - creates metatable with methods \ param L The lua state .
// T.Http.Server instance metatable // T.Http.Request class //luaL_newlib( L, t_htp_req_cf ); //luaL_newlib( L, t_htp_req_fm ); //lua_setmetatable( L, -2 ); //return 1;