Skip to content

Commit 1b74391

Browse files
author
HumanConnection
committed
ver 0.2
1 parent df1af0e commit 1b74391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHP_WS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct($params)
2424
"Sec-WebSocket-Key: TyPfhFqWTjuw8eDAxdY8xg==\r\n" .
2525
"Sec-WebSocket-Version: 13\r\n";
2626
}
27-
public function send($method)
27+
public function send($method='')
2828
{
2929
$this->head .= "Content-Length: ".strlen($method)."\r\n\r\n";
3030
$this->connect();

0 commit comments

Comments
 (0)