IWebSocket.Send Method
.NET Framework 4
Sends data over the websocket.
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function Send ( _
value As String _
) As Task
'Usage
Dim instance As IWebSocket
Dim value As String
Dim returnValue As Task
returnValue = instance.Send(value)
Task Send(
string value
)
Task^ Send(
String^ value
)
abstract Send :
value:string -> Task
function Send(
value : String
) : Task
Parameters
- value
Type: System.String
The value to send.
Return Value
Type: System.Threading.Tasks.Task
A Task that represents the send is complete.