You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered: