README.rdoc in rawjsonrpc-0.0.1 vs README.rdoc in rawjsonrpc-0.1.0

- old
+ new

@@ -23,12 +23,11 @@ client = RawJsonRpc::ClientSocket.new('192.168.2.10', 8080) #creates TCP client ret = client.request("func1", nil) #calles func1 with no para #returns result in ret ret = client.request("func2", 1, 3.0, :test, "om") #calles func2 with 4 paras ret = client.func3([1, 2, 3, 4]) #calles func3 with a array - client.notification("noti", 1, "t") #send notifaction no - # #return value + client.notification("noti", 1, "t") #send notifaction no return value client.close() == Use server TCP simple Use the libary to serve functions over tcp ip. @@ -83,11 +82,10 @@ end def serve #get data from client response = execute(jsonstring) #transfers the string and calls function - #return response string or nil if its a - # #notification + #return response string or nil if its a notification #send response end def end #stuff