class EventMachine::Protocols::HttpClient2
def post args
--
req.callback{|response| puts response.content }
req = conn.post('/data')
Post to a url
def post args if args.is_a?(String) args = {:uri=>args} end args[:verb] = "POST" request args end
def post args if args.is_a?(String) args = {:uri=>args} end args[:verb] = "POST" request args end