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.8.0.beta9 lib/protobuf/socket.rb
protobuf-2.8.0.beta8-java lib/protobuf/socket.rb
protobuf-2.8.0.beta8 lib/protobuf/socket.rb
protobuf-2.8.0.beta6-java lib/protobuf/socket.rb
protobuf-2.8.0.beta6 lib/protobuf/socket.rb
protobuf-2.8.0.beta5-java lib/protobuf/socket.rb
protobuf-2.8.0.beta5 lib/protobuf/socket.rb
protobuf-2.8.0.beta4-java lib/protobuf/socket.rb
protobuf-2.8.0.beta4 lib/protobuf/socket.rb
protobuf-2.8.0.beta3-java lib/protobuf/socket.rb
protobuf-2.8.0.beta3 lib/protobuf/socket.rb
protobuf-2.8.0.beta2-java lib/protobuf/socket.rb
protobuf-2.8.0.beta2 lib/protobuf/socket.rb
protobuf-2.7.11-java lib/protobuf/socket.rb
protobuf-2.7.11 lib/protobuf/socket.rb
protobuf-2.8.0.beta1-java lib/protobuf/socket.rb
protobuf-2.8.0.beta1 lib/protobuf/socket.rb
protobuf-2.7.10-java lib/protobuf/socket.rb
protobuf-2.7.10 lib/protobuf/socket.rb
protobuf-2.7.9-java lib/protobuf/socket.rb