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.5.2-java lib/protobuf/socket.rb
protobuf-2.5.2 lib/protobuf/socket.rb
protobuf-2.5.1 lib/protobuf/socket.rb
protobuf-2.5.0-java lib/protobuf/socket.rb
protobuf-2.5.0 lib/protobuf/socket.rb
protobuf-2.4.8-java lib/protobuf/socket.rb
protobuf-2.4.8 lib/protobuf/socket.rb
protobuf-2.4.7-java lib/protobuf/socket.rb
protobuf-2.4.7 lib/protobuf/socket.rb
protobuf-2.4.6 lib/protobuf/socket.rb
protobuf-2.4.5-java lib/protobuf/socket.rb
protobuf-2.4.5 lib/protobuf/socket.rb
protobuf-2.4.4-java lib/protobuf/socket.rb
protobuf-2.4.4 lib/protobuf/socket.rb
protobuf-2.4.3-java lib/protobuf/socket.rb
protobuf-2.4.3 lib/protobuf/socket.rb
protobuf-2.4.3.rc1 lib/protobuf/socket.rb
protobuf-2.4.2-java lib/protobuf/socket.rb
protobuf-2.4.2 lib/protobuf/socket.rb
protobuf-2.4.1-java lib/protobuf/socket.rb