Skip to main content
The Deno 2 Release Candidate is here
Learn more
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@0.74.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>