HTTP/FTP fetch content as a range of lines.
auto auto byLine(Conn, Terminator, Char) (
KeepTerminator keepTerminator = No
Terminator terminator = '\x0a',
Conn conn = Conn()
if (isCurlConn!Conn && isSomeChar!Char && isSomeChar!Terminator);
A range of lines is returned when the request is complete. If the method or
other request properties is to be customized then set the
with a HTTP/FTP instance that has these properties set.
|url||The url to receive content from|
|terminator||The character that terminates a line|
|conn||The connection to use e.g. HTTP or FTP.|
A range of Char with the content of the resource pointer to by the URL
Jonas Drewsen. Some of the SMTP code contributed by Jimmy Cao.