Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.MCP.Client.Types
Synopsis
- data Client = Client {
- clientConfig :: ClientConfig
- clientProcess :: MVar (Maybe ProcessHandle)
- clientStdin :: MVar (Maybe Handle)
- clientStdout :: MVar (Maybe Handle)
- data ClientConfig = ClientConfig {}
- data McpClientError
Documentation
Client state
Constructors
Client | |
Fields
|
data ClientConfig Source #
Client configuration
Constructors
ClientConfig | |
Fields
|
data McpClientError Source #
Constructors
ConnectionError Text | |
ProtocolError Text | |
ServerError | |
Fields |
Instances
Exception McpClientError Source # | |
Defined in Network.MCP.Client.Types Methods toException :: McpClientError -> SomeException # | |
Show McpClientError Source # | |
Defined in Network.MCP.Client.Types Methods showsPrec :: Int -> McpClientError -> ShowS # show :: McpClientError -> String # showList :: [McpClientError] -> ShowS # |