Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- runSessionWithHandles :: MonadUnliftIO io => Handle -> Handle -> SessionT io a -> io a
Documentation
runSessionWithHandles Source #
:: MonadUnliftIO io | |
=> Handle | The input handle: messages sent from the server to the client will be read from here |
-> Handle | The output handle: messages sent by the client will be written here |
-> SessionT io a | Session actions |
-> io a |
Starts a new session, using the specified handles to communicate with the server.