Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

[SLVD] Prefered way to make a http request and parse xml doc

$
0
0
Author:Akos Somorjai
Posted: Mon Sep 18, 2017 11:56 am (GMT+1)


vuego wrote:
Sorry, I ment IO::File as output channel.

I am having trouble receiving/writing data from HTTP::ClientConnection directly into IO::File (GS::OChannel)... how do I achieve that?


Again: IChannels are for input OChannel are for output. The http connection is the input channel, and you yourself have to write that information to the output channel (== IO::File). So the pseudo code:

read bytes from input
write bytes to output

Best, Akos


Viewing all articles
Browse latest Browse all 564

Trending Articles