PUT() public static method

public static PUT ( Uri uri, IWebProxy proxy, long ContentLength, int timeout_ms ) : Stream
uri System.Uri
proxy IWebProxy
ContentLength long
timeout_ms int
return Stream
Example #1
0
 public static Stream PUT(Uri uri, long ContentLength, bool timeout, bool do_log)
 {
     if (do_log)
     {
         log.DebugFormat("HTTP PUTTING file to {0}", uri);
     }
     return(HTTP.PUT(uri, XenAdminConfigManager.Provider.GetProxyFromSettings(null), ContentLength, XenAdminConfigManager.Provider.GetProxyTimeout(timeout)));
 }
Example #2
0
 public static Stream PUT(Uri uri, long ContentLength, bool timeout)
 {
     return(HTTP.PUT(uri, XenAdminConfigManager.Provider.GetProxyFromSettings(null), ContentLength, XenAdminConfigManager.Provider.GetProxyTimeout(timeout)));
 }