packages feed

http2-3.0.0: Network/HTTP2/Client/Types.hs

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)