Skip to main content

Module session

Module session 

Source
Expand description

Entry point of a single LSP session: initialization handshake, then the main loop.

Enums§

IoThreads
Handles to the I/O threads shuttling the messages of a [Connection], joined when the session ends to surface transport errors.

Functions§

patch_path_prefix 🔒
run_session
Runs a full LSP session over connection: waits for the client’s initialize, negotiates capabilities, then runs the main loop until the client disconnects or requests shutdown.