Sha256: 5f2febd6dd14fd9feadff9c757eae783e8e8aa1ae158d4e9016ce33a4baf4efa

Contents?: true

Size: 291 Bytes

Versions: 22

Compression:

Stored size: 291 Bytes

Contents

require 'pio'

request = Pio::Echo::Request.new
request.to_binary  # => ECHO Request message in binary format.

# The ECHO xid (transaction_id)
# should be same as that of the request.
reply = Pio::Echo::Reply.new(xid: request.xid)
reply.to_binary  # => ECHO Reply message in binary format.

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pio-0.7.0 examples/echo_new.rb
pio-0.6.0 examples/echo_new.rb