{"action":"created","issue":{"url":"https://api.github.com/repos/elliottminns/blackfish/issues/24","repository_url":"https://api.github.com/repos/elliottminns/blackfish","labels_url":"https://api.github.com/repos/elliottminns/blackfish/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/elliottminns/blackfish/issues/24/comments","events_url":"https://api.github.com/repos/elliottminns/blackfish/issues/24/events","html_url":"https://github.com/elliottminns/blackfish/issues/24","id":134574155,"number":24,"title":"Request Library - Proposal","user":{"login":"elliottminns","id":3148319,"avatar_url":"https://avatars.githubusercontent.com/u/3148319?v=3","gravatar_id":"","url":"https://api.github.com/users/elliottminns","html_url":"https://github.com/elliottminns","followers_url":"https://api.github.com/users/elliottminns/followers","following_url":"https://api.github.com/users/elliottminns/following{/other_user}","gists_url":"https://api.github.com/users/elliottminns/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottminns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottminns/subscriptions","organizations_url":"https://api.github.com/users/elliottminns/orgs","repos_url":"https://api.github.com/users/elliottminns/repos","events_url":"https://api.github.com/users/elliottminns/events{/privacy}","received_events_url":"https://api.github.com/users/elliottminns/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elliottminns/blackfish/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-18T12:57:10Z","updated_at":"2016-02-27T02:00:45Z","closed_at":null,"body":"Most modern API's required the ability to send out HTTP requests to other services.\r\n\r\nCurrently there aren't any other HTTP servers providing this, and for Blackfish to be a number one Web Server, it should have this functionality.\r\n\r\nMy proposal is that seeming though Echo is what is powering the Event Loop behind Blackfish, and given  it's asynchronous nature, the Request library should also be powered by Echo and it's own repository. This means that it'll be reusable across other packages and will also be non-blocking. \r\n\r\nMy thought process is to use [libcurl](https://curl.haxx.se/libcurl/c/) as the main driver and implement a wrapper in swift to open up this process. The best JSON parsing library I have currently found is [Swift-PureJsonSerializer](https://github.com/gfx/Swift-PureJsonSerializer) and I think would add a nice addition to the Requesting Library. \r\n"},"comment":{"url":"https://api.github.com/repos/elliottminns/blackfish/issues/comments/189554841","html_url":"https://github.com/elliottminns/blackfish/issues/24#issuecomment-189554841","issue_url":"https://api.github.com/repos/elliottminns/blackfish/issues/24","id":189554841,"user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T02:00:45Z","updated_at":"2016-02-27T02:00:45Z","body":"Hey @elliottminns, if you want a pure Swift, well tested JSON serialization lib, I wrote https://github.com/czechboy0/Jay\r\nIt's used by Vapor (instead of Swift-PureJsonSerializer which isn't as robust to crazy unicode like Jay is). Feel free to use it here :)"}}