lsp-client-0.4.0.0: Haskell library for Language Server Protocol clients
Safe HaskellSafe-Inferred
LanguageGHC2021

Language.LSP.Client

Description

This module provides utilities to run an LSP Session in IO.

Synopsis

Documentation

runSessionWithHandles Source #

Arguments

:: MonadUnliftIO io 
=> 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

-> SessionT io a

Session actions

-> io a 

Starts a new session, using the specified handles to communicate with the server.