package
0.0.0-20240608185122-5f8c3990a8da
Repository: https://github.com/alis-is/jsonrpc2.git
Documentation: pkg.go.dev

# Functions

Batch.
No description provided by the author
NewBufferedStream creates a buffered stream from a network connection (or other similar interface).
No description provided by the author
No description provided by the author
NewPlainObjectStream creates a buffered stream from a network connection (or other similar interface).
No description provided by the author
No description provided by the author
notify.
No description provided by the author
register method to server endpoint.
No description provided by the author
No description provided by the author
request.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
PlainObjectCodec reads/writes plain JSON-RPC 2.0 objects without a header.
No description provided by the author
No description provided by the author
StreamEndpoint is a endpoint that implements both client and server side of jsonrpc over a stream.
VarintObjectCodec reads/writes JSON-RPC 2.0 objects with a varint header that encodes the byte length.
VSCodeObjectCodec reads/writes JSON-RPC 2.0 objects with Content-Length and Content-Type headers, as specified by https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#base-protocol.

# Interfaces

No description provided by the author
No description provided by the author
An ObjectCodec specifies how to encode and decode a JSON-RPC 2.0 object in a stream.
An ObjectStream is a bidirectional stream of JSON-RPC 2.0 objects.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author