Safe Haskell | None |
---|---|
Language | Haskell2010 |
PMS.Infra.Socket.DS.Utility
Synopsis
- runApp :: DomainData -> AppData -> TimedFastLogger -> AppContext a -> IO (Either ErrorData a)
- liftIOE :: IO a -> AppContext a
- toolsCallResponse :: TQueue McpResponse -> JsonRpcRequest -> ExitCode -> String -> String -> IO ()
- errorToolsCallResponse :: JsonRpcRequest -> String -> AppContext ()
- bytesToHex :: ByteString -> String
- readSizeSocket :: Socket -> Int -> IO ByteString
- writeSocket :: Socket -> ByteString -> IO ()
- createSocket :: HostName -> ServiceName -> IO Socket
- respondToIAC :: Socket -> ByteString -> IO ()
- readTelnetSocket :: Socket -> IO ByteString
Documentation
runApp :: DomainData -> AppData -> TimedFastLogger -> AppContext a -> IO (Either ErrorData a) Source #
liftIOE :: IO a -> AppContext a Source #
toolsCallResponse :: TQueue McpResponse -> JsonRpcRequest -> ExitCode -> String -> String -> IO () Source #
errorToolsCallResponse :: JsonRpcRequest -> String -> AppContext () Source #
bytesToHex :: ByteString -> String Source #
readSizeSocket :: Socket -> Int -> IO ByteString Source #
writeSocket :: Socket -> ByteString -> IO () Source #
createSocket :: HostName -> ServiceName -> IO Socket Source #
respondToIAC :: Socket -> ByteString -> IO () Source #
readTelnetSocket :: Socket -> IO ByteString Source #