C# Class System.Net.HttpResponseStream

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

Private Properties

Property Type Description
CancelLastWrite void
ComputeLeftToWrite Interop.HttpApi.HTTP_FLAGS
HttpResponseStream System.IO
SetClosedFlag void
SwitchToOpaqueMode void
UpdateAfterWrite 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
CancelLastWrite ( SafeHandle requestQueueHandle ) : void
ComputeLeftToWrite ( ) : Interop.HttpApi.HTTP_FLAGS
HttpResponseStream ( HttpListenerContext httpContext ) : System.IO
SetClosedFlag ( ) : void
SwitchToOpaqueMode ( ) : void
UpdateAfterWrite ( uint dataWritten ) : 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