Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-David <merdoq@y...>
Subject: Netclient
Hello there,
I was wondering about the best way to create a stream
from a remote file for which I have the URL

open Http_client
open Stream

let body = Stream.of_string Convenience.http_get

Is the content of body downloaded completely before
being streamed(which defeats the purpose of streams)
or not? and if not how can I get the content of an URL
gradually (without getting the whole body into

Thank you,

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around