Sha256: 577f0da6a145f6c48bd9c34bd6d8aa71de7e459c4a6d18421d9fd2526b3f11a4

Contents?: true

Size: 586 Bytes

Versions: 154

Compression:

Stored size: 586 Bytes

Contents

##
## 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'
#
require 'protobuf'
::Protobuf.connector_type = :socket

require 'protobuf/rpc/servers/socket/server'
require 'protobuf/rpc/connectors/socket'

Version data entries

154 entries across 154 versions & 2 rubygems

Version Path
protobuf-2.7.0.rc1 lib/protobuf/socket.rb
protobuf-2.6.6-java lib/protobuf/socket.rb
protobuf-2.6.6 lib/protobuf/socket.rb
protobuf-2.6.5-java lib/protobuf/socket.rb
protobuf-2.6.5 lib/protobuf/socket.rb
protobuf-2.6.4-java lib/protobuf/socket.rb
protobuf-2.6.4 lib/protobuf/socket.rb
protobuf-2.6.3-java lib/protobuf/socket.rb
protobuf-2.6.3 lib/protobuf/socket.rb
protobuf-2.6.2-java lib/protobuf/socket.rb
protobuf-2.6.2 lib/protobuf/socket.rb
protobuf-2.6.1-java lib/protobuf/socket.rb
protobuf-2.6.1 lib/protobuf/socket.rb
protobuf-2.6.0-java lib/protobuf/socket.rb
protobuf-2.6.0 lib/protobuf/socket.rb
protobuf-2.5.5-java lib/protobuf/socket.rb
protobuf-2.5.5 lib/protobuf/socket.rb
protobuf-2.5.4-java lib/protobuf/socket.rb
protobuf-2.5.4 lib/protobuf/socket.rb
protobuf-2.5.3 lib/protobuf/socket.rb