Skip to content
Permalink
Browse files

Add description for Transport::Io

  • Loading branch information...
mtsmfm committed Apr 26, 2019
1 parent 3e40d7c commit 31a2249963071c87a9755fd93ea08a79917513b9
Showing with 9 additions and 1 deletion.
  1. +9 −1 README.md
@@ -20,7 +20,7 @@ Or install it yourself as:

## Usage

:memo: Currently, this gem supports only stdio as transport layer.
Currently, this gem supports only stdio as transport layer out of box.

```ruby
require "language_server-protocol"
@@ -53,6 +53,14 @@ reader.read do |request|
end
```

You can use any IO object as transport layer:

```ruby
io = StringIO.new
writer = LSP::Transport::Io::Writer.new(io)
reader = LSP::Transport::Io::Reader.new(io)
```

## Versioning

language_server-protocol gem does NOT use semantic versioning.

0 comments on commit 31a2249

Please sign in to comment.
You can’t perform that action at this time.