Skip to main content
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method TextProtoReader.prototype.readLine
import { TextProtoReader } from "https://deno.land/std@v0.56.0/textproto/mod.ts";

readLine() reads a single line from the TextProtoReader, eliding the final \n or \r\n from the returned string.

Returns

Promise<string | null>