Search code examples
smalltalkvisualworks

How I can get the image from URL in Smalltalk?


I have some URL string, how I can get the image from URL? I'm using VisualWorks 9.2


Solution

  • (URI fromString: yourString) readStream will produce a stream to read the data from.

    You can also use HttpClient get: url.

    You may want to load the TLS plugin parcel in oder to support https.