C# Class SignalR.Client.Infrastructure.StreamExtensions

Show file Open project: robink-teleopti/SignalR

Public Methods

Method Description
ReadAsync ( this stream, byte buffer ) : Task
WriteAsync ( this stream, byte buffer ) : System.Threading.Tasks.Task

Private Methods

Method Description
EndRead ( Stream stream, IAsyncResult ar, byte buffer ) : int
EndWrite ( Stream stream, IAsyncResult ar, byte buffer ) : void

Method Details

ReadAsync() public static method

public static ReadAsync ( this stream, byte buffer ) : Task
stream this
buffer byte
return Task

WriteAsync() public static method

public static WriteAsync ( this stream, byte buffer ) : System.Threading.Tasks.Task
stream this
buffer byte
return System.Threading.Tasks.Task