|
// @todo Validate key length and base 64... |
|
$responseKey = base64_encode(pack('H*', sha1($key.self::KEY_SALT))); |
|
|
|
$headers = [ |
|
'HTTP/1.1 101 Switching Protocols', |
|
'Upgrade: websocket', |
This issue was generated by todo based on a @todo
comment in 21e6131. It's been assigned to @overtrue because they committed the code.