class Mint::LS::WebSocketServer

Overview

A server to use the LSP over websockets.

Defined in:

ls/websocket_server.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mint::LS::Server

params : LSP::InitializeParams | Nil params, params=(params : LSP::InitializeParams | Nil) params=, sandbox : Sandbox | Nil sandbox, sandbox=(sandbox : Sandbox | Nil) sandbox=, workspace(path : String) : Workspace workspace

Instance methods inherited from class LSP::Server

log(message : String, type = 4) log, prepend_header(content : String) prepend_header, process(contents) process, read read, send(content : String) send, send_notification(method, params) send_notification, send_request(id, method, params) send_request, send_response(id, result) send_response, show_message_request(message : String, type = 4) show_message_request

Constructor methods inherited from class LSP::Server

new(in __arg0 : IO, out __arg1 : IO) new

Constructor Detail

def self.new(socket : HTTP::WebSocket, sandbox : Bool = false) #

[View source]

Instance Method Detail

def cleanup #

[View source]
def send(content : String) #

[View source]
def workspace(path : String) : Workspace #

[View source]