relay-dotnet
Public Member Functions | Properties | List of all members
RelayDotNet.SystemRelayWebSocketConnection Class Reference

Public Member Functions

 SystemRelayWebSocketConnection (WebSocket webSocket, string id, string path, string clientIpAddress, int clientPort)
 
async Task Send (string message)
 
async Task Close ()
 
async Task Close (int code)
 

Properties

IRelayWebSocketConnectionInfo ConnectionInfo [get]
 
- Properties inherited from RelayDotNet.IRelayWebSocketConnection
IRelayWebSocketConnectionInfo ConnectionInfo [get]
 

Constructor & Destructor Documentation

◆ SystemRelayWebSocketConnection()

RelayDotNet.SystemRelayWebSocketConnection.SystemRelayWebSocketConnection ( WebSocket  webSocket,
string  id,
string  path,
string  clientIpAddress,
int  clientPort 
)
inline

Member Function Documentation

◆ Close() [1/2]

async Task RelayDotNet.SystemRelayWebSocketConnection.Close ( )
inline

◆ Close() [2/2]

async Task RelayDotNet.SystemRelayWebSocketConnection.Close ( int  code)
inline

◆ Send()

async Task RelayDotNet.SystemRelayWebSocketConnection.Send ( string  message)
inline

Property Documentation

◆ ConnectionInfo

IRelayWebSocketConnectionInfo RelayDotNet.SystemRelayWebSocketConnection.ConnectionInfo
get

The documentation for this class was generated from the following file: