Метод | Описание | |
---|---|---|
Broadcast ( byte data ) : void |
Broadcasts a binary data to all clients of the WebSocket services provided by the server.
|
|
Broadcast ( string data ) : void |
Broadcasts a text data to all clients of the WebSocket services provided by the server.
|
|
BroadcastAsync ( System.Stream stream, int length, System.Action completed ) : void |
Broadcasts a binary data from the specified Stream asynchronously to all clients of the WebSocket services provided by the server. This method doesn't wait for the broadcast to be complete. |
|
BroadcastAsync ( byte data, System.Action completed ) : void |
Broadcasts a binary data asynchronously to all clients of the WebSocket services provided by the server. This method doesn't wait for the broadcast to be complete. |
|
BroadcastAsync ( string data, System.Action completed ) : void |
Broadcasts a text data asynchronously to all clients of the WebSocket services provided by the server. This method doesn't wait for the broadcast to be complete. |
|
BroadcastTo ( string servicePath, byte data ) : void |
Broadcasts a binary data to all clients of the WebSocket service with the specified servicePath.
|
|
BroadcastTo ( string servicePath, string data ) : void |
Broadcasts a text data to all clients of the WebSocket service with the specified servicePath.
|
|
BroadcastToAsync ( string servicePath, System.Stream stream, int length, System.Action completed ) : void |
Broadcasts a binary data from the specified Stream asynchronously to all clients of the WebSocket service with the specified servicePath. This method doesn't wait for the broadcast to be complete. |
|
BroadcastToAsync ( string servicePath, byte data, System.Action completed ) : void |
Broadcasts a binary data asynchronously to all clients of the WebSocket service with the specified servicePath. This method doesn't wait for the broadcast to be complete. |
|
BroadcastToAsync ( string servicePath, string data, System.Action completed ) : void |
Broadcasts a text data asynchronously to all clients of the WebSocket service with the specified servicePath. This method doesn't wait for the broadcast to be complete. |
|
Broadping ( ) : Dictionary |
Sends Pings to all clients of the WebSocket services provided by the server.
|
|
Broadping ( string message ) : Dictionary |
Sends Pings with the specified message to all clients of the WebSocket services provided by the server.
|
|
BroadpingTo ( string servicePath ) : bool>.Dictionary |
Sends Pings to all clients of the WebSocket service with the specified servicePath.
|
|
BroadpingTo ( string servicePath, string message ) : bool>.Dictionary |
Sends Pings with the specified message to all clients of the WebSocket service with the specified servicePath.
|
|
CloseSession ( string servicePath, string id ) : void |
Closes the session with the specified servicePath and id.
|
|
CloseSession ( string servicePath, string id, CloseStatusCode code, string reason ) : void |
Closes the session with the specified servicePath, id, code and reason.
|
|
CloseSession ( string servicePath, string id, ushort code, string reason ) : void |
Closes the session with the specified servicePath, id, code and reason.
|
|
PingTo ( string servicePath, string id ) : bool |
Sends a Ping to the client associated with the specified servicePath and id.
|
|
PingTo ( string servicePath, string id, string message ) : bool |
Sends a Ping with the specified message to the client associated with the specified servicePath and id.
|
|
SendTo ( string servicePath, string id, byte data ) : void |
Sends a binary data to the client on the session with the specified id, in the WebSocket service with the specified servicePath.
|
|
SendTo ( string servicePath, string id, string data ) : void |
Sends a text data to the client on the session with the specified id, in the WebSocket service with the specified servicePath.
|
|
SendToAsync ( string servicePath, string id, System.Stream stream, int length, Action |
Sends a binary data from the specified Stream asynchronously to the client on the session with the specified id, in the WebSocket service with the specified servicePath. This method doesn't wait for the send to be complete. |
|
SendToAsync ( string servicePath, string id, byte data, Action |
Sends a binary data asynchronously to the client on the session with the specified id, in the WebSocket service with the specified servicePath. This method doesn't wait for the send to be complete. |
|
SendToAsync ( string servicePath, string id, string data, Action |
Sends a text data asynchronously to the client on the session with the specified id, in the WebSocket service with the specified servicePath. This method doesn't wait for the send to be complete. |
|
TryGetServiceHost ( string servicePath, WebSocketSharp.Server.WebSocketServiceHost &serviceHost ) : bool |
Tries to get a WebSocket service host with the specified servicePath.
|
|
this ( string servicePath ) : WebSocketSharp.Server.WebSocketServiceHost |
Gets a WebSocket service host with the specified servicePath.
|
Метод | Описание | |
---|---|---|
Add ( string servicePath, WebSocketSharp.Server.WebSocketServiceHost serviceHost ) : void | ||
Remove ( string servicePath ) : bool | ||
Start ( ) : void | ||
Stop ( byte data, bool send ) : void | ||
TryGetServiceHostInternally ( string servicePath, WebSocketSharp.Server.WebSocketServiceHost &serviceHost ) : bool | ||
WebSocketServiceHostManager ( ) : System | ||
WebSocketServiceHostManager ( System.Logger logger ) : System | ||
broadcast ( Opcode opcode, System.Stream stream, System.Action completed ) : void | ||
broadcast ( Opcode opcode, byte data, System.Action completed ) : void | ||
broadcastAsync ( Opcode opcode, System.Stream stream, System.Action completed ) : void | ||
broadcastAsync ( Opcode opcode, byte data, System.Action completed ) : void | ||
broadping ( byte frameAsBytes, int timeOut ) : Dictionary |
||
checkIfCanSend ( Func |
public Broadcast ( byte data ) : void | ||
data | byte |
/// An array of |
Результат | void |
public Broadcast ( string data ) : void | ||
data | string |
/// A |
Результат | void |
public BroadcastAsync ( System.Stream stream, int length, System.Action completed ) : void | ||
stream | System.Stream |
/// A |
length | int |
/// An |
completed | System.Action |
/// A |
Результат | void |
public BroadcastAsync ( byte data, System.Action completed ) : void | ||
data | byte |
/// An array of |
completed | System.Action |
/// A |
Результат | void |
public BroadcastAsync ( string data, System.Action completed ) : void | ||
data | string |
/// A |
completed | System.Action |
/// A |
Результат | void |
public BroadcastTo ( string servicePath, byte data ) : void | ||
servicePath | string |
/// A |
data | byte |
/// An array of |
Результат | void |
public BroadcastTo ( string servicePath, string data ) : void | ||
servicePath | string |
/// A |
data | string |
/// A |
Результат | void |
public BroadcastToAsync ( string servicePath, System.Stream stream, int length, System.Action completed ) : void | ||
servicePath | string |
/// A |
stream | System.Stream |
/// A |
length | int |
/// An |
completed | System.Action |
/// A |
Результат | void |
public BroadcastToAsync ( string servicePath, byte data, System.Action completed ) : void | ||
servicePath | string |
/// A |
data | byte |
/// An array of |
completed | System.Action |
/// A |
Результат | void |
public BroadcastToAsync ( string servicePath, string data, System.Action completed ) : void | ||
servicePath | string |
/// A |
data | string |
/// A |
completed | System.Action |
/// A |
Результат | void |
public Broadping ( string message ) : Dictionary |
||
message | string |
/// A |
Результат | Dictionary |
public BroadpingTo ( string servicePath ) : bool>.Dictionary |
||
servicePath | string |
/// A |
Результат | bool>.Dictionary |
public BroadpingTo ( string servicePath, string message ) : bool>.Dictionary |
||
servicePath | string |
/// A |
message | string |
/// A |
Результат | bool>.Dictionary |
public CloseSession ( string servicePath, string id ) : void | ||
servicePath | string |
/// A |
id | string |
/// A |
Результат | void |
public CloseSession ( string servicePath, string id, CloseStatusCode code, string reason ) : void | ||
servicePath | string |
/// A |
id | string |
/// A |
code | CloseStatusCode |
/// One of the |
reason | string |
/// A |
Результат | void |
public CloseSession ( string servicePath, string id, ushort code, string reason ) : void | ||
servicePath | string |
/// A |
id | string |
/// A |
code | ushort |
/// A |
reason | string |
/// A |
Результат | void |
public PingTo ( string servicePath, string id ) : bool | ||
servicePath | string |
/// A |
id | string |
/// A |
Результат | bool |
public PingTo ( string servicePath, string id, string message ) : bool | ||
servicePath | string |
/// A |
id | string |
/// A |
message | string |
/// A |
Результат | bool |
public SendTo ( string servicePath, string id, byte data ) : void | ||
servicePath | string |
/// A |
id | string |
/// A |
data | byte |
/// An array of |
Результат | void |
public SendTo ( string servicePath, string id, string data ) : void | ||
servicePath | string |
/// A |
id | string |
/// A |
data | string |
/// A |
Результат | void |
public SendToAsync ( string servicePath, string id, System.Stream stream, int length, Action |
||
servicePath | string |
/// A |
id | string |
/// A |
stream | System.Stream |
/// A |
length | int |
/// An |
completed | Action |
/// An Action<bool> delegate that references the method(s) called when
/// the send is complete.
/// A |
Результат | void |
public SendToAsync ( string servicePath, string id, byte data, Action |
||
servicePath | string |
/// A |
id | string |
/// A |
data | byte |
/// An array of |
completed | Action |
/// An Action<bool> delegate that references the method(s) called when
/// the send is complete.
/// A |
Результат | void |
public SendToAsync ( string servicePath, string id, string data, Action |
||
servicePath | string |
/// A |
id | string |
/// A |
data | string |
/// A |
completed | Action |
/// An Action<bool> delegate that references the method(s) called when
/// the send is complete.
/// A |
Результат | void |
public TryGetServiceHost ( string servicePath, WebSocketSharp.Server.WebSocketServiceHost &serviceHost ) : bool | ||
servicePath | string |
/// A |
serviceHost | WebSocketSharp.Server.WebSocketServiceHost |
/// When this method returns, a |
Результат | bool |
public this ( string servicePath ) : WebSocketSharp.Server.WebSocketServiceHost | ||
servicePath | string |
/// A |
Результат | WebSocketSharp.Server.WebSocketServiceHost |