pub async fn http_handler(
stream: impl Read + Write + Send + Unpin + 'static,
store: Store,
config: &'static Config,
stat_info: ExtraStatisticInfo,
)
Expand description
A handler that does external HTTP redirects using information from the
provided store. Extra information for statistics can be passed via
stat_info
.