diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-20 17:36:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-20 17:36:59 -0400 |
| commit | 7e5bdc837a95067b304872c3a757e39e434adaba (patch) | |
| tree | 28fb79ea5d7ce449f003ee479104aa04f029b5f4 /MediaBrowser.Common/Net | |
| parent | cf057c5b2736f1e25bb1a8f9091c3954311889ab (diff) | |
added GetTempFileResponse
Diffstat (limited to 'MediaBrowser.Common/Net')
| -rw-r--r-- | MediaBrowser.Common/Net/HttpResponseInfo.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Common/Net/IHttpClient.cs | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpResponseInfo.cs b/MediaBrowser.Common/Net/HttpResponseInfo.cs index 558218ed16..3199dcc1c4 100644 --- a/MediaBrowser.Common/Net/HttpResponseInfo.cs +++ b/MediaBrowser.Common/Net/HttpResponseInfo.cs @@ -25,5 +25,11 @@ namespace MediaBrowser.Common.Net /// </summary> /// <value>The status code.</value> public HttpStatusCode StatusCode { get; set; } + + /// <summary> + /// Gets or sets the temp file path. + /// </summary> + /// <value>The temp file path.</value> + public string TempFilePath { get; set; } } } diff --git a/MediaBrowser.Common/Net/IHttpClient.cs b/MediaBrowser.Common/Net/IHttpClient.cs index 6068d4e8c8..93348d4ca0 100644 --- a/MediaBrowser.Common/Net/IHttpClient.cs +++ b/MediaBrowser.Common/Net/IHttpClient.cs @@ -72,5 +72,7 @@ namespace MediaBrowser.Common.Net /// <exception cref="System.ArgumentNullException">progress</exception> /// <exception cref="MediaBrowser.Model.Net.HttpException"></exception> Task<string> GetTempFile(HttpRequestOptions options); + + Task<HttpResponseInfo> GetTempFileResponse(HttpRequestOptions options); } }
\ No newline at end of file |
