C# Class NHttp.HttpReadBuffer

Exibir arquivo Open project: brandonprry/Potato Class Usage Examples

Public Methods

Method Description
AtBoundary ( byte boundary, int maximum ) : bool?
BeginRead ( Stream stream, AsyncCallback callback, object state ) : void
CopyToStream ( Stream stream, int maximum, byte boundary ) : bool
CopyToStream ( Stream stream, int maximum ) : void
EndRead ( Stream stream, IAsyncResult asyncResult ) : void
HttpReadBuffer ( int size ) : System
ReadLine ( ) : string
Reset ( ) : void

Method Details

AtBoundary() public method

public AtBoundary ( byte boundary, int maximum ) : bool?
boundary byte
maximum int
return bool?

BeginRead() public method

public BeginRead ( Stream stream, AsyncCallback callback, object state ) : void
stream Stream
callback AsyncCallback
state object
return void

CopyToStream() public method

public CopyToStream ( Stream stream, int maximum, byte boundary ) : bool
stream Stream
maximum int
boundary byte
return bool

CopyToStream() public method

public CopyToStream ( Stream stream, int maximum ) : void
stream Stream
maximum int
return void

EndRead() public method

public EndRead ( Stream stream, IAsyncResult asyncResult ) : void
stream Stream
asyncResult IAsyncResult
return void

HttpReadBuffer() public method

public HttpReadBuffer ( int size ) : System
size int
return System

ReadLine() public method

public ReadLine ( ) : string
return string

Reset() public method

public Reset ( ) : void
return void