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