ConnectionsController
class ConnectionsController extends Controller
Methods
from
Controller
resolveApplication(string $appId)
Resolve the application instance for the given ID.
from
Controller
void
verifySignature(Request $request, Application $application, string $body, array $query)
Verify the Pusher authentication signature.
from
Controller
static string
formatQueryParametersForVerification(array $params)
Format the given parameters into the correct format for signature verification.
from
Controller
Details
in
Controller at line 25
protected VerifiedRequestContext
verify(Request $request, string $appId)
Verify that the incoming request is valid.
Returns a per-request context DTO instead of storing state on instance properties — controllers are shared across coroutines in Hypervel.
in
Controller at line 43
protected Application
resolveApplication(string $appId)
Resolve the application instance for the given ID.
in
Controller at line 61
protected void
verifySignature(Request $request, Application $application, string $body, array $query)
Verify the Pusher authentication signature.
in
Controller at line 96
static protected string
formatQueryParametersForVerification(array $params)
Format the given parameters into the correct format for signature verification.
at line 16
JsonResponse
__invoke(Request $request, string $appId)
Handle the request.