use crateLspMessage;
/// A language server that runs in-page (typically compiled to WASM).
///
/// This is the extension point for connecting a real language server to the
/// [`CodeMirror`] component. A language server speaks the Language Server
/// Protocol -- JSON-RPC messages -- which, over a stream, would be framed with
/// `Content-Length` headers. Here the transport is message-based, so the seam
/// is simply "feed one message in, get zero or more messages out".
///
/// Implement this for your WASM language server, then bridge it to the editor
/// with [`LspBridge::lsp_bridge_from_server`].
///
/// [`CodeMirror`]: crate::code_mirror::CodeMirror
/// [`LspBridge::lsp_bridge_from_server`]: crate::lsp::lsp_bridge::LspBridge::lsp_bridge_from_server