| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.HTTP2.Server.Internal
Contents
Synopsis
- newtype Request = Request InpObj
- newtype Response = Response OutObj
- data Config = Config {}
- data ServerConfig = ServerConfig {}
- data Aux = Aux {}
- data Stream
- data ServerIO a = ServerIO {
- sioMySockAddr :: SockAddr
- sioPeerSockAddr :: SockAddr
- sioReadRequest :: IO (a, Request)
- sioWriteResponse :: a -> Response -> IO ()
- sioDone :: IO ()
- runIO :: ServerConfig -> Config -> (ServerIO Stream -> IO (IO ())) -> IO ()
Documentation
Request from client.
Response from server.
HTTP/2 configuration.
Constructors
| Config | |
Fields
| |
data ServerConfig Source #
Server configuration
Constructors
| ServerConfig | |
Fields
| |
Instances
| Show ServerConfig Source # | |
Defined in Network.HTTP2.Server.Run Methods showsPrec :: Int -> ServerConfig -> ShowS # show :: ServerConfig -> String # showList :: [ServerConfig] -> ShowS # | |
| Eq ServerConfig Source # | |
Defined in Network.HTTP2.Server.Run | |
Additional information.
Constructors
| Aux | |
Fields
| |
Low level
Constructors
| ServerIO | |
Fields
| |