Skip to main content

Module protocol

Module protocol 

Source

Structs§

InitializeRequest
Initialize request to set up LSP for a workspace
LspErrorResponse
LSP error response
LspNotification
LSP notification from client to server
ProtocolError
Protocol-level error (not LSP error)

Enums§

DaemonRequest
Messages sent from an LspClient to the LspDaemon.
DaemonResponse
Top-level daemon response

Constants§

MAX_MESSAGE_SIZE
Maximum message size (16 MB)

Functions§

extract_document_uri
Extract the document URI from an LSP request’s params by method name.