Top Level Namespace

Defined Under Namespace

Modules: Google, Protobuf Classes: Numeric

Instance Method Summary collapse

Instance Method Details

#protobufObject

Socket Mode

Require this file if you wish to run your server and/or client RPC with the raw socket handlers. This is the default run mode for bin/rpc_server.

To run with rpc_server either omit any mode switches, or explicitly pass socket:

rpc_server myapp.rb rpc_server --socket myapp.rb

To run for client-side only override the require in your Gemfile:

gem 'protobuf', :require => 'protobuf/socket'



16
# File 'lib/protobuf/zmq.rb', line 16

require 'protobuf'