Functions of ballerina.net.ws package
function pushText(message m, string text)
This pushes text from server to the the same client who sent the message.
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
m | message | message: message |
text | string | Text which should be sent |
Annotations of ballerina.net.ws package
annotation OnClose()
Attributes:
Attribute Name | Data Type | Description |
---|
annotation OnOpen()
Attributes:
Attribute Name | Data Type | Description |
---|
annotation OnTextMessage()
Attributes:
Attribute Name | Data Type | Description |
---|
annotation WebSocketUpgradePath(string value)
Attributes:
Attribute Name | Data Type | Description |
---|---|---|
value | string |