deleteQueue method
Delete a new queue
'qName' is mandatory.
Implementation
Future<void> deleteQueue(String qName) async {
String path = 'https://${config[accountName]}.queue.core.windows.net/$qName';
var request = http.Request('DELETE', Uri.parse(path));
_sign(request);
var res = await request.send();
if (res.statusCode >= 200 && res.statusCode < 300) {
return;
}
var message = await res.stream.bytesToString(); //DEBUG
throw AzureStorageException(message, res.statusCode, res.headers);
}