Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 928 Bytes

inferIntf-spec.md

File metadata and controls

30 lines (18 loc) · 928 Bytes

Infer Interface Request

Infer Interface Request is sent from the client to the server to get the infered interface for a given module implementation.

The document URI in the request has to be open before sending a the request.

If the file cannot be found in the document store, an error will be returned.

Warning: this custom request is meant to be consumed by ocaml-vscode-platform exclusively, it can be removed any time and should not be relied on.

Client capability

nothing that should be noted

Server capability

property name: handleInferIntf property type: boolean

Request

  • method: ocamllsp/inferIntf
  • params: DocumentUri (see DocumentUri in LSP specification)

Response

  • result: String
  • error: code and message set in case an exception happens during the processing of the request.