{"action":"opened","issue":{"url":"https://api.github.com/repos/amcewen/HttpClient/issues/17","labels_url":"https://api.github.com/repos/amcewen/HttpClient/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/amcewen/HttpClient/issues/17/comments","events_url":"https://api.github.com/repos/amcewen/HttpClient/issues/17/events","html_url":"https://github.com/amcewen/HttpClient/issues/17","id":80723837,"number":17,"title":"Do we really need to derive Client class?","user":{"login":"honteng","id":1395306,"avatar_url":"https://avatars.githubusercontent.com/u/1395306?v=3","gravatar_id":"","url":"https://api.github.com/users/honteng","html_url":"https://github.com/honteng","followers_url":"https://api.github.com/users/honteng/followers","following_url":"https://api.github.com/users/honteng/following{/other_user}","gists_url":"https://api.github.com/users/honteng/gists{/gist_id}","starred_url":"https://api.github.com/users/honteng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honteng/subscriptions","organizations_url":"https://api.github.com/users/honteng/orgs","repos_url":"https://api.github.com/users/honteng/repos","events_url":"https://api.github.com/users/honteng/events{/privacy}","received_events_url":"https://api.github.com/users/honteng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-26T00:45:10Z","updated_at":"2015-05-26T00:45:10Z","closed_at":null,"body":"Thank you for such a great library. This library helps a lot to make IoT devices very easily.\r\n\r\nSo I tried to use this library for CC3200 on Energia, but it doesn't work well, because Client class is different from Arduino. Client class of CC3200 needs to implement SSL related pure virtual methods, so HttpClient class instantiation fails. If HttpClient class derives from WiFiClient, it does work.\r\n\r\nBut I wonder wonder why HttpClient has to derive from Client class? IMHO, Client class is for TCP layer class and HttpClient class is upper layer. So this is not a \"is-a\" relation, but \"has-a\" relation, right? Or is there anything rational the class has to inherit?\r\n\r\nI've been working on general C++ projects for a while but not much about Arduino projects. If I would miss something, please let me know.\r\n\r\nThanks,\r\n\r\n\r\n"}}