| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Transport.KeepAlive
Documentation
data KeepAliveOpts Source #
Constructors
| KeepAliveOpts | |
Instances
| FromJSON KeepAliveOpts Source # | |
Defined in Simplex.Messaging.Transport.KeepAlive Methods parseJSON :: Value -> Parser KeepAliveOpts parseJSONList :: Value -> Parser [KeepAliveOpts] omittedField :: Maybe KeepAliveOpts | |
| ToJSON KeepAliveOpts Source # | |
Defined in Simplex.Messaging.Transport.KeepAlive Methods toJSON :: KeepAliveOpts -> Value toEncoding :: KeepAliveOpts -> Encoding toJSONList :: [KeepAliveOpts] -> Value toEncodingList :: [KeepAliveOpts] -> Encoding omitField :: KeepAliveOpts -> Bool | |
| Show KeepAliveOpts Source # | |
Defined in Simplex.Messaging.Transport.KeepAlive Methods showsPrec :: Int -> KeepAliveOpts -> ShowS show :: KeepAliveOpts -> String showList :: [KeepAliveOpts] -> ShowS | |
| Eq KeepAliveOpts Source # | |
Defined in Simplex.Messaging.Transport.KeepAlive | |
setSocketKeepAlive :: Socket -> KeepAliveOpts -> IO () Source #