C# Class WebSocket.Portable.Internal.DataLayerExtensions

显示文件 Open project: NVentimiglia/WebSocket.Portable

Public Methods

Method Description
ReadAsync ( this layer, int length, CancellationToken cancellationToken ) : Task
ReadAsync ( this layer, int length, CancellationToken cancellationToken, WebSocketErrorCode errorCode ) : Task

Method Details

ReadAsync() public static method

public static ReadAsync ( this layer, int length, CancellationToken cancellationToken ) : Task
layer this
length int
cancellationToken System.Threading.CancellationToken
return Task

ReadAsync() public static method

public static ReadAsync ( this layer, int length, CancellationToken cancellationToken, WebSocketErrorCode errorCode ) : Task
layer this
length int
cancellationToken System.Threading.CancellationToken
errorCode WebSocketErrorCode
return Task