Skip to content

Instantly share code, notes, and snippets.

View tokibito's full-sized avatar
👨‍👩‍👦

Shinya Okano tokibito

👨‍👩‍👦
View GitHub Profile
@nobonobo
nobonobo / server.py
Created February 16, 2016 05:33
python3でwebsocketsでjsonrpcのサンプル
import asyncio
import websockets
from websockets.exceptions import ConnectionClosed
from jsonrpc import JSONRPCResponseManager, dispatcher
@dispatcher.add_method
def hello(*params):
return 'hello'+repr(params)

simple table

| hello | world |
| ----- | ----- |
| hello | world |
| hello | world |

| hello | world |