aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authordahlia2014-05-30 13:47:19 -0700
committerJustin Clark-Casey2014-06-10 20:21:39 +0100
commit344db4dc0b261ae3aa75aa367278e8586c230420 (patch)
tree5b7384d73159ac1150d7effaecf1f1c6e39b4cbf /OpenSim
parentMoved these two estate-related interfaces to the projects where they belong. (diff)
downloadopensim-SC_OLD-344db4dc0b261ae3aa75aa367278e8586c230420.zip
opensim-SC_OLD-344db4dc0b261ae3aa75aa367278e8586c230420.tar.gz
opensim-SC_OLD-344db4dc0b261ae3aa75aa367278e8586c230420.tar.bz2
opensim-SC_OLD-344db4dc0b261ae3aa75aa367278e8586c230420.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs8
1 files changed, 8 insertions, 0 deletions
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
299 /// <summary> 299 /// <summary>
300 /// Perform a synchronous request 300 /// Perform a synchronous request
301 /// </summary> 301 /// </summary>
302 public Stream Request()
303 {
304 return Request(null);
305 }
306
307 /// <summary>
308 /// Perform a synchronous request
309 /// </summary>
302 public Stream Request(IServiceAuth auth) 310 public Stream Request(IServiceAuth auth)
303 { 311 {
304 lock (_lock) 312 lock (_lock)