Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
While most network messages only affect the model of that network connection, some messages will affect the mutable state of the client itself.
Synopsis
- clientResponse :: ZonedTime -> IrcMsg -> NetworkState -> ClientState -> IO ClientState
Documentation
clientResponse :: ZonedTime -> IrcMsg -> NetworkState -> ClientState -> IO ClientState Source #
Client-level responses to specific IRC messages. This is in contrast to the connection state tracking logic in Client.NetworkState