If you wanted to get at the XhrIo itself, you can just instantiate
one. If you look at goog.net.XhrIo.send (the static one, not the
instance method), it's just a convenience wrapper that sets up the
necessary event listeners on the XhrIo.
Your handler needs to do your next step, and it'll get called when the
XHR completes successfully (if it doesn't fail). So, something like
this:
goog.net.XhrIo.send("test.php", function(e) {
myFunc(e.target.getResponseJson(), ...);
});
Hope that helps,
Nathan