开发者

WCF HttpClient poll ContentReadStream on an open connection?

开发者 https://www.devze.com 2023-03-18 16:03 出处:网络
I\'m connecting with a WCF HttpClient to a node.js http server (express). Server-side I keep the connection open and stream data to the client. How can I poll the ContentReadStream 开发者_如何学编程cl

I'm connecting with a WCF HttpClient to a node.js http server (express). Server-side I keep the connection open and stream data to the client. How can I poll the ContentReadStream 开发者_如何学编程client-side?


Jeroen, HttpClient/HttpContent has async methods that use the new Task in .net 4.0. You should be able to use those methods for streaming.

0

精彩评论

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