{"action":"opened","issue":{"url":"https://api.github.com/repos/0rpc/zerorpc-node/issues/74","repository_url":"https://api.github.com/repos/0rpc/zerorpc-node","labels_url":"https://api.github.com/repos/0rpc/zerorpc-node/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/0rpc/zerorpc-node/issues/74/comments","events_url":"https://api.github.com/repos/0rpc/zerorpc-node/issues/74/events","html_url":"https://github.com/0rpc/zerorpc-node/issues/74","id":161054525,"number":74,"title":"Servers - Adding methods after instantiation. ","user":{"login":"jacktuck","id":8209433,"avatar_url":"https://avatars.githubusercontent.com/u/8209433?v=3","gravatar_id":"","url":"https://api.github.com/users/jacktuck","html_url":"https://github.com/jacktuck","followers_url":"https://api.github.com/users/jacktuck/followers","following_url":"https://api.github.com/users/jacktuck/following{/other_user}","gists_url":"https://api.github.com/users/jacktuck/gists{/gist_id}","starred_url":"https://api.github.com/users/jacktuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacktuck/subscriptions","organizations_url":"https://api.github.com/users/jacktuck/orgs","repos_url":"https://api.github.com/users/jacktuck/repos","events_url":"https://api.github.com/users/jacktuck/events{/privacy}","received_events_url":"https://api.github.com/users/jacktuck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-19T03:25:52Z","updated_at":"2016-06-19T03:25:52Z","closed_at":null,"body":"Is it possible to add methods to the server once instantiated?\r\n\r\nSomething like this, perhaps:\r\n```var zerorpc = require(\"zerorpc\");\r\n\r\nvar server = new zerorpc.Server();\r\n\r\nserver.add('addMan', function(sentence, reply) {\r\n  reply(null, sentence + \", man!\");\r\n})```\r\n\r\nIf not currently possible, would you be open to a PR to add such functionality?\r\n\r\n"}}
{"actor":{"display_login":"jacktuck"}}