Solga

Serving APIs

serve

serveThrow

Basic routers

type f :> g

type seg /> g

type Get a

type Post a

data JSON a

data Raw

data RawResponse

data End next

data WithIO next

data Seg seg next

data OneOfSegs segs next

class FromSegment a

data Capture a next

data Method method next

data ExtraHeaders next

data NoCache next

data ReqBodyJSON a next

type MultiPartData

data ReqBodyMultipart a next

type Endpoint method a

data left :<|> right

Abbreviation

class Abbreviated a

Error handling

data SolgaError

badRequest

notFound

Router implementation

class Router r

type Responder

tryRouteNext

tryRouteNextIO