{"action":"closed","issue":{"url":"https://api.github.com/repos/php-http/documentation/issues/2","labels_url":"https://api.github.com/repos/php-http/documentation/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/php-http/documentation/issues/2/comments","events_url":"https://api.github.com/repos/php-http/documentation/issues/2/events","html_url":"https://github.com/php-http/documentation/issues/2","id":102650089,"number":2,"title":"document how to use discovery","user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-23T19:27:25Z","updated_at":"2015-08-23T21:57:14Z","closed_at":"2015-08-23T21:57:14Z","body":"the discovery section only explains how to provide discovery for your own project. but i am trying to figure out how to just *use* discovery in my project. imho the doc should also explain that.\r\n\r\ndo i simply need to call HttpAdapterDiscovery::find() and thats it?\r\n\r\nand for creating messages, i need the MessageFactoryDiscovery::find()->createRequest? \r\n\r\nand what is the uri factory for? the MessageFactory accepts a string as well (the doc is incorrect btw, it should state that it can also accept an UriInterface)\r\n\r\ni am happy to do a PR to add a usage section, but first want to be sure to understand correctly how things work."}}