Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ServerState = ServerState {}
- type ServerMonad = StateT ServerState IO
- startServerState :: FilePath -> Trie Entry -> IO ServerState
- withHandle :: Handle -> Int -> ServerMonad QueryFileResponse
Documentation
type ServerMonad = StateT ServerState IO Source
startServerState :: FilePath -> Trie Entry -> IO ServerState Source
withHandle :: Handle -> Int -> ServerMonad QueryFileResponse Source
Respond to a queryFile or queryFileCont request for a given file handle and id