class RawJsonRpc::JSONTCPServer
Implements the RawServerJsonRpcBase as GServer the stdlib SocketServer. For more information go one to the stdlib.
Public Instance Methods
serve(io)
click to toggle source
# File lib/rawjsonrpc/server.rb, line 76 def serve(io) loop do data = io.gets io.puts execute(data) end end