method

cookies

cookies()
protected

The cookies of the request that initiated the WebSocket connection. Useful for performing authorization checks.