Simplify protocol api.
This commit is contained in:
parent
dd6caba082
commit
a13c29f0e6
4 changed files with 243 additions and 265 deletions
|
@ -1,7 +1,7 @@
|
|||
protocol = process.atomBinding 'protocol'
|
||||
protocol = process.atomBinding('protocol').protocol
|
||||
EventEmitter = require('events').EventEmitter
|
||||
|
||||
protocol[key] = value for key, value of EventEmitter.prototype
|
||||
protocol.__proto__ = EventEmitter.prototype
|
||||
|
||||
protocol.RequestStringJob =
|
||||
class RequestStringJob
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue