C# Class Windows.Networking.Sockets.StreamWebSocket

Inheritance: IStreamWebSocket, IWebSocket, IClosable
显示文件 Open project: shiftkey/winrt-backport-hilarity Class Usage Examples

Public Methods

Method Description
Close ( ) : void
ConnectAsync ( [ uri ) : IAsyncAction
SetRequestHeader ( [ headerName, [ headerValue ) : void
StreamWebSocket ( ) : System

Private Methods

Method Description
Close ( [ code, [ reason ) : void

Method Details

Close() public method

public Close ( ) : void
return void

ConnectAsync() public method

public ConnectAsync ( [ uri ) : IAsyncAction
uri [
return IAsyncAction

SetRequestHeader() public method

public SetRequestHeader ( [ headerName, [ headerValue ) : void
headerName [
headerValue [
return void

StreamWebSocket() public method

public StreamWebSocket ( ) : System
return System