echo

Sends an echo request with a given message and awaits a response.

Return

A Result containing the Response.Echo received in response, or an error if the operation fails.

Parameters

msg

The message to be sent as part of the echo request.

Throws

if the response ID does not match the request ID.