property ReplContext.http

The HTTP client's state: headers saved for the next request, and every request made.

Session-lived for the same reason ReplContext.scratch is — .header accept=… and the .get three lines later are different commands, and the second one remembering the first is the entire point of saving it.

Type

Usage

import { type ReplContext } from "lib/commands/repl/command.ts";