method Deno.Conn.closeConn.close(): voidDeprecatedCloses the connection, freeing the resource. const conn = await Deno.connect({ hostname: "example.com", port: 80 }); // ... conn.close(); Return Typevoid