Closed alovak closed 1 year ago
With this PR we make it possible to set custom SendTimeout value for the Send method call. Example:
SendTimeout
Send
resp, err := conn.Send(message, connection.SendTimeout(100*time.Millisecond))
it's useful when you want to send Ping/Echo messages that may have their own round-trip times.
With this PR we make it possible to set custom
SendTimeout
value for theSend
method call. Example:it's useful when you want to send Ping/Echo messages that may have their own round-trip times.