Skip to content

Commit 33a6e15

Browse files
cmoulliardpisv
authored andcommitted
Replace method toProxy() with toServiceObject(). Fix #912
1 parent dcca7e0 commit 33a6e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/jsonrpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public interface MyService {
9898
}
9999

100100
Endpoint endpoint = ...
101-
MyService proxy = ServiceEndpoints.toProxy(endpoint, MyService.class);
101+
MyService proxy = ServiceEndpoints.toServiceObject(endpoint, MyService.class);
102102
```
103103

104104
Of course you can use the same interface, as is done with the [interfaces](../org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/services/LanguageServer.java) defining the messages of the LSP.

0 commit comments

Comments
 (0)