Skip to main content
Deno.Conn.close - Deno documentation
method Deno.Conn.close
Conn.close(): void
Closes the connection, freeing the resource. ```ts const conn = await Deno.connect({ hostname: "example.com", port: 80 }); // ... conn.close(); ```

Return Type

void