static fun encodeStreamEndRequest(requestNumber: Int): Bytes!
(source)
Encodes a message with the body and headers set in the appropriate way to end a stream.
requestNumber
- Int: the request number
JsonProcessingException
- if the encoding fails
Return
Bytes!: the response encoded as an RPC request