From 344db4dc0b261ae3aa75aa367278e8586c230420 Mon Sep 17 00:00:00 2001
From: dahlia
Date: Fri, 30 May 2014 13:47:19 -0700
Subject: Add a 0 parameter overload for RestClient.Request() for use when no
auth is required. This preserves API compatibility for external modules using
this function.
---
OpenSim/Framework/Communications/RestClient.cs | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'OpenSim')
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 89e6aa1..586400f 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -299,6 +299,14 @@ namespace OpenSim.Framework.Communications
///
/// Perform a synchronous request
///
+ public Stream Request()
+ {
+ return Request(null);
+ }
+
+ ///
+ /// Perform a synchronous request
+ ///
public Stream Request(IServiceAuth auth)
{
lock (_lock)
--
cgit v1.1