Function UPNPDevice.addPortMapping

Adds a port mapping to forward the given external port on this UPNPDevice for the given protocol to the local machine. See UPNP.addPortMapping.

long addPortMapping (
  const(long) port,
  const(long) port_internal = 0L,
  const(String) desc = GodotStringLiteral().str(),
  const(String) proto = GodotStringLiteral().str(),
  const(long) duration = 0L
) nothrow @nogc const;