diff --git a/LICENSE b/LICENSE index 0dcb11f..91b3b9a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2021 Chris Boden +Copyright (c) 2014 Chris Boden Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/Connector.php b/src/Connector.php index 0327469..456a3d1 100644 --- a/src/Connector.php +++ b/src/Connector.php @@ -134,7 +134,7 @@ protected function generateRequest($url, array $subProtocols, array $headers) { $uri = $uri->withScheme('wss' === $scheme ? 'HTTPS' : 'HTTP'); - $headers += ['User-Agent' => 'Ratchet-Pawl/0.4']; + $headers += ['User-Agent' => 'Ratchet-Pawl/0.4.1']; $request = array_reduce(array_keys($headers), function(RequestInterface $request, $header) use ($headers) { return $request->withHeader($header, $headers[$header]);