Skip to content

Commit

Permalink
Merge pull request #5 from phpyii/master
Browse files Browse the repository at this point in the history
open事件中的$context对象增加request属性
  • Loading branch information
andot authored Dec 22, 2016
2 parents e2a3f50 + 344e405 commit 606ad66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Hprose/Swoole/WebSocket/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function wsHandle($server) {
}
$context = new stdClass();
$context->server = $server;
$context->request = $request;
$context->fd = $fd;
$context->userdata = new stdClass();
try {
Expand Down

0 comments on commit 606ad66

Please sign in to comment.