variable httpPort Codec for <HttpPort>. Examples Build a <HttpPort> element for cmd 36 import { assertEquals } from "@std/assert"; import { httpPort } from "@hertzg/reolink-api/protocol/params"; assertEquals( httpPort.encode({ httpPort: 8080, enable: 1 }), '<HttpPort version="1.1"><httpPort>8080</httpPort><enable>1</enable></HttpPort>', ); Type XmlParam<"HttpPort", HttpPort>