C# Class FluentHttp.ResponseHeadersReceivedEventArgs

Represents the event args for response headers received.
Inheritance: System.EventArgs
显示文件 Open project: prabirshrestha/FluentHttp Class Usage Examples

Public Methods

Method Description
ResponseHeadersReceivedEventArgs ( FluentHttpResponse response, Exception exception, object asyncState ) : System

Initializes a new instance of the ResponseHeadersReceivedEventArgs class.

SaveResponseIn ( Stream stream ) : void

Sets the response stream.

Method Details

ResponseHeadersReceivedEventArgs() public method

Initializes a new instance of the ResponseHeadersReceivedEventArgs class.
public ResponseHeadersReceivedEventArgs ( FluentHttpResponse response, Exception exception, object asyncState ) : System
response FluentHttpResponse /// The response. ///
exception System.Exception
asyncState object The async state
return System

SaveResponseIn() public method

Sets the response stream.
public SaveResponseIn ( Stream stream ) : void
stream Stream The stream to save reponse into.
return void