{"action":"created","issue":{"url":"https://api.github.com/repos/Brightspace/ifrau/issues/17","labels_url":"https://api.github.com/repos/Brightspace/ifrau/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Brightspace/ifrau/issues/17/comments","events_url":"https://api.github.com/repos/Brightspace/ifrau/issues/17/events","html_url":"https://github.com/Brightspace/ifrau/pull/17","id":96928054,"number":17,"title":"[WIP] add syntax for host plugins","user":{"login":"omsmith","id":1127384,"avatar_url":"https://avatars.githubusercontent.com/u/1127384?v=3","gravatar_id":"","url":"https://api.github.com/users/omsmith","html_url":"https://github.com/omsmith","followers_url":"https://api.github.com/users/omsmith/followers","following_url":"https://api.github.com/users/omsmith/following{/other_user}","gists_url":"https://api.github.com/users/omsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/omsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omsmith/subscriptions","organizations_url":"https://api.github.com/users/omsmith/orgs","repos_url":"https://api.github.com/users/omsmith/repos","events_url":"https://api.github.com/users/omsmith/events{/privacy}","received_events_url":"https://api.github.com/users/omsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-23T23:42:45Z","updated_at":"2015-07-27T16:53:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Brightspace/ifrau/pulls/17","html_url":"https://github.com/Brightspace/ifrau/pull/17","diff_url":"https://github.com/Brightspace/ifrau/pull/17.diff","patch_url":"https://github.com/Brightspace/ifrau/pull/17.patch"},"body":"@dlockhart \r\n\r\nRandom thought\r\n\r\n```js\r\nimport { Host } from 'ifrau';\r\nimport { host as jwtHost } from 'frau-jwt';\r\n\r\nconst host = new Host()\r\n  .using(jwtHost)\r\n  .connect()\r\n  // ...\r\n  ;\r\n```\r\n\r\n```js\r\nexport host function jwtHost (host) {\r\n  host.onRequest('foo', 'bar');\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Brightspace/ifrau/issues/comments/125270340","html_url":"https://github.com/Brightspace/ifrau/pull/17#issuecomment-125270340","issue_url":"https://api.github.com/repos/Brightspace/ifrau/issues/17","id":125270340,"user":{"login":"omsmith","id":1127384,"avatar_url":"https://avatars.githubusercontent.com/u/1127384?v=3","gravatar_id":"","url":"https://api.github.com/users/omsmith","html_url":"https://github.com/omsmith","followers_url":"https://api.github.com/users/omsmith/followers","following_url":"https://api.github.com/users/omsmith/following{/other_user}","gists_url":"https://api.github.com/users/omsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/omsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omsmith/subscriptions","organizations_url":"https://api.github.com/users/omsmith/orgs","repos_url":"https://api.github.com/users/omsmith/repos","events_url":"https://api.github.com/users/omsmith/events{/privacy}","received_events_url":"https://api.github.com/users/omsmith/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T16:53:01Z","updated_at":"2015-07-27T16:53:01Z","body":"@dlockhart unless of course the client could negotiate for services to be available, which the host would dynamically load and make available!\r\n\r\n...lets table that tough"}}