From af70198bab77a582b31169d3cc3982bed25c161f Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Fri, 10 Dec 2021 09:32:34 -0500 Subject: [PATCH] Update licence year and version --- LICENSE | 2 +- src/Connector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);