Hy i'm figuring out howto send the request to my server (golang, which waits for a jsonrpc-packet, working with golangclient)
there is no really an example about that, hopefully someone can help
var sender = JSONRPC.new()
var dict = sender.make_request("Arith.Add",[1,2],1)
var Client = WebSocketClient.new()
var jsonpacket = JSON.print(dict)
Client.get_peer(1).put_packet(jsonpacket.to_utf8())
that crashes the connection, and nothing happens on the server...