static int QPYX_HasHeader_YXQP(IntPtr L_YXQP) { try { ToLua.CheckArgsCount(L_YXQP, 2); BestHTTP.HTTPResponse QPYX_obj_YXQP = (BestHTTP.HTTPResponse)ToLua.CheckObject <BestHTTP.HTTPResponse>(L_YXQP, 1); string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2); bool QPYX_o_YXQP = QPYX_obj_YXQP.HasHeader(QPYX_arg0_YXQP); LuaDLL.lua_pushboolean(L_YXQP, QPYX_o_YXQP); return(1); } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int HasHeader(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); BestHTTP.HTTPResponse obj = (BestHTTP.HTTPResponse)ToLua.CheckObject <BestHTTP.HTTPResponse>(L, 1); string arg0 = ToLua.CheckString(L, 2); bool o = obj.HasHeader(arg0); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }