strelka-0.4: Extremely flexible and composable router

Safe HaskellNone
LanguageHaskell2010

Strelka.Model

Synopsis

Documentation

newtype Method Source

HTTP Method in lower-case.

Constructors

Method ByteString 

newtype Status Source

Constructors

Status Int 

newtype InputStream Source

IO action, which produces the next chunk. An empty chunk signals the end of the stream.

Constructors

InputStream (IO ByteString) 

newtype OutputStream Source

A function on a chunk consuming and flushing IO actions.

Constructors

OutputStream ((ByteString -> IO ()) -> IO () -> IO ())