ResourceService
object ResourceService
class Object
trait Matchable
class Any
Type members
Classlikes
final case class Config[F[_]](basePath: String, pathPrefix: String, bufferSize: Int, cacheStrategy: CacheStrategy[F], preferGzipped: Boolean)
org.http4s.server.staticcontent.ResourceService configuration
org.http4s.server.staticcontent.ResourceService configuration
- Value Params
- basePath
prefix of the path files will be served from
- blocker
execution context to use when collecting content
- 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