Query string params available in the snowflake proxy for manual mode, broker url, and target relay address

This commit is contained in:
Serene Han 2016-01-23 09:27:23 -08:00
parent 77fbfe0e66
commit 0301ff1879
4 changed files with 43 additions and 23 deletions

View file

@ -117,6 +117,12 @@ Params =
return defaultValue if undefined == val
Parse.address val
# Get an object value and return it as a string. Returns default_val if param
# is not a key.
getString: (query, param, defaultValue) ->
val = query[param]
return defaultValue if undefined == val
val
class BucketRateLimit
amount: 0.0