C# Class System.Net.HttpRequestStream

Inheritance: System.IO.Stream
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
GetChunks uint
HttpRequestStream System.IO
SwitchToOpaqueMode void
UpdateAfterRead void

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
Read ( [ buffer, int offset, int size ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int size ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetChunks ( byte buffer, int offset, int size ) : uint
HttpRequestStream ( HttpListenerContext httpContext ) : System.IO
SwitchToOpaqueMode ( ) : void
UpdateAfterRead ( uint statusCode, uint dataRead ) : void

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
return IAsyncResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

FlushAsync() public method

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

Read() public method

public Read ( [ buffer, int offset, int size ) : int
buffer [
offset int
size 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

Write() public method

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