Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- runSessionWithHandles :: Handle -> Handle -> Session a -> IO a
Documentation
runSessionWithHandles Source #
:: 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 |
-> Session a | Session actions |
-> IO a |
Starts a new session, using the specified handles to communicate with the server.