开发者

Control over connection used in HttpWebRequest

Is it possible to have any sort of control over the connection used for a HttpWebRequest? I use the BindIPEndPointDelegate property to set the IP to bind the request to. However I want to have 5 keep-alive c开发者_如何学Goonnections that get round-robined through that all use different IPs.

Or is there some sort of way I could contextualize/compartmentalize the connections so that I can say "use this keep-alive connection" specifically?


It looks like setting the ConnectionGroupName property on the HttpWebRequests pools the connections keyed on that string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜