@pumpkin-plugins/port-mapping API / upnp / parseSoapResponse
Function: parseSoapResponse() ​
parseSoapResponse(
xml):Record<string,string>
Defined in: tools/port-mapping/src/upnp.ts:115
Reads a SOAP answer.
Parameters ​
xml ​
string
Returns ​
Record<string, string>
The fields of the response, by name.
Throws ​
When the answer is a fault.