request method
Implementation
Future<String> request(String action, List<int> data) {
final soapAction = _rendering_control.contains(action)
? 'RenderingControl'
: 'AVTransport';
final Map<String, Object> headers = Map.from({
'SOAPAction': '"urn:schemas-upnp-org:service:$soapAction:1#$action"',
'Content-Type': 'text/xml',
});
return DLNAHttp.post(Uri.parse(controlURL(soapAction)), headers, data);
}