public void SendRequest(string keyInURLManager, JsonData jsonParam, string headerAPI = "", bool showWaiting = false) { IHttpRequester requester = mHttpReqeuesters[keyInURLManager]; if (requester is IRequesterJsonParamer jsonParamRequest) { jsonParamRequest.ShowWaiting = showWaiting; jsonParamRequest.RequestParam = jsonParam; requester.ResponserIniter.IgnoreParamCreate = true; requester.HeaderAPIKey = headerAPI; requester.Build(); requester.Send(); requester.ResponserIniter.IgnoreParamCreate = false; } else { } }
public void SendRequest(string keyInURLManager, bool showWaiting = false) { IHttpRequester requester = mHttpReqeuesters[keyInURLManager]; if (requester != default) { if (requester is IRequesterJsonParamer jsonParamRequest) { jsonParamRequest.ShowWaiting = showWaiting; } else { } requester.Build(); requester.Send(); } else { } }