{"action":"created","issue":{"url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/8","repository_url":"https://api.github.com/repos/oliverlorenz/phpMqttClient","labels_url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/8/comments","events_url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/8/events","html_url":"https://github.com/oliverlorenz/phpMqttClient/issues/8","id":165729057,"number":8,"title":"Q: Is is possible to make TLS/PSK connections?","user":{"login":"kernelguy","id":6168267,"avatar_url":"https://avatars.githubusercontent.com/u/6168267?v=3","gravatar_id":"","url":"https://api.github.com/users/kernelguy","html_url":"https://github.com/kernelguy","followers_url":"https://api.github.com/users/kernelguy/followers","following_url":"https://api.github.com/users/kernelguy/following{/other_user}","gists_url":"https://api.github.com/users/kernelguy/gists{/gist_id}","starred_url":"https://api.github.com/users/kernelguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernelguy/subscriptions","organizations_url":"https://api.github.com/users/kernelguy/orgs","repos_url":"https://api.github.com/users/kernelguy/repos","events_url":"https://api.github.com/users/kernelguy/events{/privacy}","received_events_url":"https://api.github.com/users/kernelguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T07:40:28Z","updated_at":"2016-07-17T19:14:34Z","closed_at":null,"body":"In the connector constructor it always uses the SocketClient Connector:\r\n`$this->socketConnector = new \\React\\SocketClient\\Connector($loop, $resolver);`\r\n\r\nWould it be possible to somehow use the React\\SocketClient\\SecureConnector, perhaps by adding an options parameter?\r\n\r\nWe currently use the [Mosquitto extension](https://github.com/mgdm/Mosquitto-PHP), but your package seems much more suited for usage with ReactPHP.\r\nWe use a mix of TLS and PSK connections to a Mosquitto broker, but I think TLS would be fine for our PHP applicaitons."},"comment":{"url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/comments/233198569","html_url":"https://github.com/oliverlorenz/phpMqttClient/issues/8#issuecomment-233198569","issue_url":"https://api.github.com/repos/oliverlorenz/phpMqttClient/issues/8","id":233198569,"user":{"login":"oliverlorenz","id":403147,"avatar_url":"https://avatars.githubusercontent.com/u/403147?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverlorenz","html_url":"https://github.com/oliverlorenz","followers_url":"https://api.github.com/users/oliverlorenz/followers","following_url":"https://api.github.com/users/oliverlorenz/following{/other_user}","gists_url":"https://api.github.com/users/oliverlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverlorenz/subscriptions","organizations_url":"https://api.github.com/users/oliverlorenz/orgs","repos_url":"https://api.github.com/users/oliverlorenz/repos","events_url":"https://api.github.com/users/oliverlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/oliverlorenz/received_events","type":"User","site_admin":false},"created_at":"2016-07-17T19:14:34Z","updated_at":"2016-07-17T19:14:34Z","body":"Hey!\r\n\r\ncurrently I don't have the time to follow your request. Sorry for that :( But its a great idea! So feel free to add this functionality and create a pull-request.\r\n\r\nOne wish: Don't add a parameter to the Connector, please add a SecureConnector class :)\r\n\r\nGreetings\r\nOliver"}}
{"actor":{"display_login":"oliverlorenz"}}