mig-server-0.2.1.0: Build lightweight and composable servers
Safe HaskellSafe-Inferred
LanguageGHC2021

Mig.Server.Warp

Description

Run mig-server with warp

Synopsis

Documentation

data ServerConfig #

Server config

Constructors

ServerConfig 

Fields

Instances

Instances details
Default ServerConfig 
Instance details

Defined in Mig.Server.Wai

Methods

def :: ServerConfig #

data FindRouteType #

Algorithm to find route handlers by path

Constructors

TreeFinder

converts api to tree-like structure (prefer it for servers with many routes)

PlainFinder

no optimization (prefer it for small servers)

data CacheConfig #

Cache config

Constructors

CacheConfig 

Fields