tuweni / org.apache.tuweni.scuttlebutt.rpc / RPCCodec / encodeStreamEndRequest

encodeStreamEndRequest

static fun encodeStreamEndRequest(requestNumber: Int): Bytes (source)

Encodes a message with the body and headers set in the appropriate way to end a stream.

Exceptions

JsonProcessingException -

Return
the response encoded as an RPC request