Httpwebrequest will be too slow for chuncked response, you need to create your own httpclient
find some in stackoverflow / codeproject, they have very good reference and tutorial
Disagree completely. So far as to say that is terrible advice.
Care to elaborate
why the HttpWebRequest would be too slow and why he needs that speed. And why a new programmer can do better than the devs are Microsoft?
Don't get me wrong, going a step lower is a good learning project, gives you a better understanding. But it is far from necessary.
Why reinvent the wheel?
Go with the HttpWebRequest class. When you
know you need something faster, than drop down an abstraction level. I will put money on you won't ever need to.
If absolute raw speed is a necessity, than you probably shouldn't be looking at C# and the .Net framework anyway.
As the OP put
So basically I'm looking to jump in to making bots for personal use at first, maybe later on try to sell some on the side
What makes you think the HttpWebRequest is not good enough? It is exactly what he *should* be using.
Bots do not need to run at break neck speed, if they do you can get ID'd as a bot.
What OP needs to do, is just get started.
Code a bot
Complete a project
Start another project which will be 10x better than the first
Complete that
etc
Along the way he will start to realise all the code he is reusing and will build up a personal library.
But even then, if he can find a 3rd party library why not use that? His goal is to make bots, that
do something. The goal is not to understand the underyling network protocol.
He needs to be able to
1) Get pages
2) decompress gzip output
3) handle cookies
4) post forms (multi part and url encoded)
5) post ajax
6) post json
Then some HTML processing would be handy, extract forms from pages, extract inputs etc.
If a library can handle that for him, he will have a bot ready in weeks. If he goes codes a httpWebRequest replacement like you suggest, he will never complete a bot as will give up. Fact.