Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
{{ 'command' | importRequestParams }}
{{ { command } | ensureAllArgsNotEmpty }}
{{ ['flush','monitor','brpop','blpop'] | any => contains(lower(command), it)
| assignTo: illegalCommand }}
{{ illegalCommand ? throwArgumentException('Command is not allowed.') : null }}
{{ command | redisCall | assignTo: contents }}
{{ contents | return({ 'Content-Type': 'text/plain' }) }}