Config
org.http4s.server.staticcontent.ResourceService$.Config
final case class Config[F[_]](basePath: String, pathPrefix: String, bufferSize: Int, cacheStrategy: CacheStrategy[F], preferGzipped: Boolean)
org.http4s.server.staticcontent.ResourceService configuration
Value parameters
- basePath
-
prefix of the path files will be served from
- bufferSize
-
size hint of internal buffers to use when serving resources
- cacheStrategy
-
strategy to use for caching purposes. Default to no caching.
- pathPrefix
-
prefix of the Uri that content will be served from
- preferGzipped
-
whether to serve pre-gzipped files (with extension ".gz") if they exist
Attributes
- Source
- ResourceService.scala
- Graph
-
- Supertypes
Members list
In this article