Can anyone add DocBlocks for ConnectionInterface?

14 views
Skip to first unread message

ma...@ugorur.com

unread,
Jun 11, 2015, 9:40:04 AM6/11/15
to ratch...@googlegroups.com
Can anyone add DocBlocks for Ratchet\ConnectionInterface? I can't find all uses for it. Such as resourceId.

cboden

unread,
Jun 11, 2015, 10:51:21 AM6/11/15
to ratch...@googlegroups.com, ma...@ugorur.com, ma...@ugorur.com
Properties aren't documented on ConnectionInterface because they're not guaranteed to be on ConnectionInterface. Properties attached to connections are determined by which components are used to build an application. The website documentation of each component notifies of which properties it will add to a connection. The IoServer docs show that resourceId and remoteAddress are added to each connection.
Reply all
Reply to author
Forward
0 new messages