ServiceRemotingCallbackClient.requestResponseAsync(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody) 方法

定义

Sends a message to the client and gets the response.

public CompletableFuture<byte[]> requestResponseAsync(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)

参数

messageHeaders
ServiceRemotingMessageHeaders

Message headers

requestBody
byte []

Message body

返回

CompletableFuture<byte[]>

Response body

适用于