WrapConnection wraps the current Client connection in the wrapper.
(wrapper ConnectionWrapper)
| 11 | |
| 12 | // WrapConnection wraps the current Client connection in the wrapper. |
| 13 | func (client *Client) WrapConnection(wrapper ConnectionWrapper) { |
| 14 | client.connection = wrapper.Wrap(client.connection) |
| 15 | } |