module Network.HTTP2.Client.Types where import Network.HTTP2.Arch ---------------------------------------------------------------- -- | Client type. type Client a = (Request -> (Response -> IO a) -> IO a) -> IO a -- | Request from client. newtype Request = Request OutObj deriving (Show) -- | Response from server. newtype Response = Response InpObj deriving (Show)