requestCompletions method
Sends a request to get completions from the server.
Clients should debounce their calls to this API to avoid overloading the server.
You should check the protocolVersion before using this API, it must be
Implementation
// TODO: Implement automatic debouncing.
Future<CompleteResult> requestCompletions(CompleteRequest request) =>
sendRequest(CompleteRequest.methodName, request);