response: Add Conn and TLS methods

This commit is contained in:
Adnan Maolood
2021-02-23 16:36:17 -05:00
parent 833edaf63d
commit 83c904913f
2 changed files with 20 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ func (c *Client) do(ctx context.Context, conn net.Conn, req *Request) (*Response
if err != nil {
return nil, err
}
resp.conn = conn
return resp, nil
}