Changes between Version 25 and Version 26 of WikiStart


Ignore:
Timestamp:
03/14/19 16:19:13 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v25 v26  
    7272}}}
    7373
     74or, in jython (python dialect)
     75{{{
     76...
     77import com.neovisionaries.ws.client.WebSocketAdapter as WebSocketAdapter
     78import com.neovisionaries.ws.client.WebSocketFactory as WebSocketFactory
     79
     80class PythonDownloadProfile(WebSocketAdapter):
     81
     82    def onTextMessage(self, websocket, json):
     83        print "received message: "+json
     84}}}
     85
    7486
    7587== Using the source code ==