Re: Seeking contact with -notably- commercial users
Anne Ogborn <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Example case might be where Prolog is acting as the public webserver front end for a home automation system and the web client on the public Internet requests a picture of a given space. The Prolog code needs to fetch the image from a webcam which is on the internal network via http request and then turn around and return that image to the browser in its own http response, preferably without this image being written to a file anywhere. There's an http client lib. if the image is available on a GET request this is as simple as doing http_get. If you pass the option codes you'll get the response as a list of byte codes, you can then just write these. There's no need to write it to a file. -------------- next part -------------- HTML attachment scrubbed and removed