C# Class WebDav.WebDavStreamResponse

Represents a response of the GET operation. The class has to be properly disposed.
Inheritance: WebDavResponse, IDisposable
Exibir arquivo Open project: skazantsev/WebDavClient

Public Methods

Method Description
Dispose ( ) : void
ToString ( ) : string
WebDavStreamResponse ( HttpResponseMessage response, Stream stream ) : System

Initializes a new instance of the WebDavStreamResponse class.

WebDavStreamResponse ( int statusCode ) : System.IO

Initializes a new instance of the WebDavStreamResponse class.

WebDavStreamResponse ( int statusCode, Stream stream ) : System.IO

Initializes a new instance of the WebDavStreamResponse class.

WebDavStreamResponse ( int statusCode, string description ) : System.IO

Initializes a new instance of the WebDavStreamResponse class.

WebDavStreamResponse ( int statusCode, string description, Stream stream ) : System.IO

Initializes a new instance of the WebDavStreamResponse class.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

WebDavStreamResponse() public method

Initializes a new instance of the WebDavStreamResponse class.
public WebDavStreamResponse ( HttpResponseMessage response, Stream stream ) : System
response HttpResponseMessage The raw http response.
stream Stream The stream of content of the resource.
return System

WebDavStreamResponse() public method

Initializes a new instance of the WebDavStreamResponse class.
public WebDavStreamResponse ( int statusCode ) : System.IO
statusCode int The status code of the operation.
return System.IO

WebDavStreamResponse() public method

Initializes a new instance of the WebDavStreamResponse class.
public WebDavStreamResponse ( int statusCode, Stream stream ) : System.IO
statusCode int The status code of the response.
stream System.IO.Stream The stream of resource's content.
return System.IO

WebDavStreamResponse() public method

Initializes a new instance of the WebDavStreamResponse class.
public WebDavStreamResponse ( int statusCode, string description ) : System.IO
statusCode int The status code of the response.
description string The description of the response.
return System.IO

WebDavStreamResponse() public method

Initializes a new instance of the WebDavStreamResponse class.
public WebDavStreamResponse ( int statusCode, string description, Stream stream ) : System.IO
statusCode int The status code of the response.
description string The description of the response.
stream System.IO.Stream The stream of content of the resource.
return System.IO