lsp-client-0.3.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

:: 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

-> Session a

Session actions

-> IO a 

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