Tell makes a blocking method call to the server. Waits until the callback function is called by the other side and returns the result and the error.
(method string, args ...interface{})
| 708 | // Waits until the callback function is called by the other side and |
| 709 | // returns the result and the error. |
| 710 | func (c *Client) Tell(method string, args ...interface{}) (result *dnode.Partial, err error) { |
| 711 | return c.TellWithTimeout(method, 0, args...) |
| 712 | } |
| 713 | |
| 714 | // SendWebRTCRequest sends requests to kontrol for signalling purposes. |
| 715 | func (c *Client) SendWebRTCRequest(req *protocol.WebRTCSignalMessage) error { |