% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{check_rate_limit}
\alias{check_rate_limit}
\title{Check Rate Limit}
\usage{
check_rate_limit(
  session_token,
  user_requests,
  max_requests = 100,
  window_seconds = 3600
)
}
\arguments{
\item{session_token}{Shiny session token}

\item{user_requests}{Reactive value storing request history}

\item{max_requests}{Maximum requests allowed in time window}

\item{window_seconds}{Time window in seconds (default: 3600 = 1 hour)}
}
\value{
TRUE if within limit, stops with error if exceeded
}
\description{
Check Rate Limit
}
\keyword{internal}
