Upgrading all request/responses to JSON-RPC

This commit is contained in:
James Barnsley
2018-03-12 21:39:27 +13:00
parent f3e64338a5
commit 6ec5fd388e
15 changed files with 1105 additions and 643 deletions

View File

@ -51,6 +51,9 @@ export default function reducer(pusher = {}, action){
case 'PUSHER_START_UPGRADE':
return Object.assign({}, pusher, { upgrading: true });
case 'PUSHER_SNAPCAST':
return Object.assign({}, pusher, { snapcast: action.snapcast });
default:
return pusher
}