Quantcast
Channel: Questions in topic: "httpwebrequest"
Viewing all articles
Browse latest Browse all 190

am i using Http request correctly

$
0
0
its been awhile since i worked on this, i remember that when using http requests it wouldnt wait for my request to be finalized. so i spilt it into two functions , and it works, altho it seems slow ... i dont know if its the IEnumerator or my sorry excuse for a server . i guess what i'm asking is.. does this look wrong? [code] public void Load(string V) { WWW www = new WWW(url); StartCoroutine(Load2(www)); } private IEnumerator Load2(WWW www) { yield return www; string[] A = www.text.Split('|'); foreach (var B in A) { Load3(B); } } [/code]

Viewing all articles
Browse latest Browse all 190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>