func (conn *Conn) Call(req Request, params, response interface{}) error {
	call := &Call{
		Request:  req,
		Params:   params,
		Response: response,
		Done:     make(chan *Call, 1),
	}
	conn.send(call)
	result := <-call.Done
	return errors.Trace(result.Error)
}
// Call invokes the named action on the object of the given type with the given
// id. The returned values will be stored in response, which should be a pointer.
// If the action fails remotely, the error will have a cause of type RequestError.
// The params value may be nil if no parameters are provided; the response value
// may be nil to indicate that any result should be discarded.
Call invokes the named action on the object of the given type with the given
id. The returned values will be stored in response, which should be a pointer.
If the action fails remotely, the error will have a cause of type RequestError.
The params value may be nil if no parameters are provided; the response value
may be nil to indicate that any result should be discarded.
// Call invokes the named action on the object of the given type with the given // id . The returned values will be stored in response which should be a pointer . // If the action fails remotely the error will have a cause of type RequestError . // The params value may be nil if no parameters are provided ; the response value // may be nil to indicate that any result should be discarded .
func (conn *Conn) Call(req Request, params, response interface{}) error {
	call := &Call{
		Request:  req,
		Params:   params,
		Response: response,
		Done:     make(chan *Call, 1),
	}
	conn.send(call)
	result := <-call.Done
	return errors.Trace(result.Error)
}
func ( conn * Conn ) Call ( req Request , params , response interface { } ) error { call := & Call { Request : req , Params : params , Response : response , Done : make ( chan * Call , 1 ) , } conn . send ( call ) result := <- call . Done return errors . Trace ( result . Error ) }
Call invokes the named action on the object of the given type with the given
id.
Call invokes the named action on the object of the given type with the given id .