다음을 통해 공유


IJsonRpcMessageHandler 인터페이스

정의

JSON-RPC 메시지를 보내고 받기 위한 계약입니다.

public interface IJsonRpcMessageHandler
type IJsonRpcMessageHandler = interface
Public Interface IJsonRpcMessageHandler
파생

속성

CanRead

이 메시지 처리기가 메시지를 받을 수 있는지 여부를 나타내는 값을 가져옵니다.

CanWrite

이 메시지 처리기가 메시지를 보낼 수 있는지 여부를 나타내는 값을 가져옵니다.

Formatter

메시지 serialization에 사용되는 포맷터를 가져옵니다.

메서드

ReadAsync(CancellationToken)

필요한 경우 전송에서 고유하고 완전한 메시지를 읽습니다.

WriteAsync(JsonRpcMessage, CancellationToken)

전송에 JSON-RPC 메시지를 쓰고 플러시합니다.

적용 대상