I have number of websocket connections connected,what if I want to send message on that connection from using some function. Do we have any utility function in the library for the same?
I was trying to something like this:
import json
from .clients import WebsocketTestingClient
messageTypes = {
'handshake': 'hello',
'chan_register': 'register'
}
class WPushClient(WebsocketTestingClient):
I have number of websocket connections connected,what if I want to send message on that connection from using some function. Do we have any utility function in the library for the same? I was trying to something like this:
import json from .clients import WebsocketTestingClient messageTypes = { 'handshake': 'hello', 'chan_register': 'register' } class WPushClient(WebsocketTestingClient):
I was unable to send the "msg" on the websocket connection?