Hey Mohammed,

2012/7/27 Mohammed Rashad <[email protected]>

> All,
>
> How to use WResource to stream a png file on some server
>
> eg: i have  a img file on http://externalserver.com/images/image.png
>
> how can I stream it using WResource on a  WPaintedWidget?
>
> Is it possible ?
>
I think you need to extend the WStreamResource class and use
some HTTP-client library to get the data from the external HTTP
server and stream it out to the client.
Probably, you might try the Wt::Http::Client, but I am not sure.

-- 
// Dmitriy.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to