示例#1
0
        override public void Send()
        {
            Driver.Request(
                RequestType,
                ServiceURL,
                Resposer.Success,
                Resposer.Error,
                RequestParam,
                10,
                HeaderAPIKey
                );

            ResponserIniter.Clean();
        }
示例#2
0
        public void Build()
        {
            BeforeSend?.Invoke();
            ResponserIniter.Build();

            BuildCallbacks();

            if (!ResponserIniter.IgnoreParamCreate)
            {
                BuildParam();
            }
            else
            {
            }
        }
示例#3
0
        override public void Send()
        {
            "warning".Log(RequestParam == default, "HTTP Request [".Append(GetType().Name, "] 's request param is null"));

            Driver.JsonDataRequest(
                RequestType,
                ServiceURL,
                Resposer.Success,
                Resposer.ErrorForJson,
                RequestParam,
                10,
                ShowWaiting,
                Resposer.SuccessForCustom,
                HeaderAPIKey
                );

            ResponserIniter.Clean();
        }