metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

connection: make callback method private #306

Closed aqrln closed 6 years ago

aqrln commented 6 years ago

There's no reason to call it directly outside of the connection's internal machinery except to break things.

Also, this will make it consistent with pong after #303 lands.

aqrln commented 6 years ago

/cc @nechaido

nechaido commented 6 years ago

Landed in 18a6ef97f4982b505bf768fa4876bbbad440bfd0.