toggle menu
QuettaCode API
0.1.0-BETA
jvm
switch theme
search in API
QuettaCode API
/
com.quettacode.core.config
/
RateLimitConfig
Rate
Limit
Config
@
Configuration
class
RateLimitConfig
(
source
)
Members
Constructors
Rate
Limit
Config
Link copied to clipboard
constructor
(
)
Functions
redis
Proxy
Manager
Link copied to clipboard
@
Bean
fun
redisProxyManager
(
@
Value
(
value
=
"${spring.data.redis.host}"
)
host
:
String
,
@
Value
(
value
=
"${spring.data.redis.port}"
)
port
:
Int
,
@
Value
(
value
=
"${spring.data.redis.password}"
)
pass
:
String
,
@
Value
(
value
=
"${spring.data.redis.ssl.enabled:false}"
)
sslEnabled
:
Boolean
)
:
LettuceBasedProxyManager
<
String
>