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