Download Latest Version Version 2.1.0.zip (42.7 kB)
Email in envelope

Get an email when there's a new version of Sandstone

Home / 2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2017-10-25 950 Bytes
Version 2.0.0.tar.gz 2017-10-25 79.7 kB
Version 2.0.0.zip 2017-10-25 102.1 kB
Totals: 3 Items   182.8 kB 0

It changes the way to get websocket request object:

:::php
$conn->WebSocket->request

becomes:

:::php
$conn->httpRequest

Also, you get a psr7 request object. So, in exemple, to access to query parameters, do:

:::php
parse_str($conn->httpRequest->getUri()->getQuery(), $queryParameters);
$myParameter = $queryParameters['my_parameter'];

It then removes the support for PHP 5.5. See league/oauth2-server [changelog](https://github.com/thephpleague/oauth2-server/blob/master/CHANGELOG.md#602.

Source: README.md, updated 2017-10-25