Config

org.http4s.server.staticcontent.ResourceService.Config
final case class Config[F[_]](basePath: String, pathPrefix: String, bufferSize: Int, cacheStrategy: CacheStrategy[F], preferGzipped: Boolean)

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product