Module

x/servest/mod.ts>Agent

🌾A progressive http server for Deno🌾
Latest
interface Agent
import { type Agent } from "https://dotland.deno.dev/x/servest@v1.3.4/mod.ts";

keep-alive http agent for single host. each message will be sent in serial

Properties

hostname: string

Hostname of host. deno.land of deno.land:80

port: number

Port of host. 80 of deno.land:80

conn: Deno.Conn

tcp connection for http agent

Methods

send(opts: AgentSendOptions): Promise<ClientResponse>

send request to host. it throws EOF if conn is closed