C# Class HttpRequest.HttpHelper.WrapperResponseStream

包装GetResponseStream,释放时候连同HttpWebResponse一起释放
Inheritance: Stream
Mostrar archivo Open project: vla/FastHttpRequest

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
WrapperResponseStream ( Stream stream, HttpWebResponse response ) : System
Write ( byte buffer, int offset, int count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

WrapperResponseStream() public method

public WrapperResponseStream ( Stream stream, HttpWebResponse response ) : System
stream Stream
response System.Net.HttpWebResponse
return System

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void