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
protobuffy-3.6.0 lib/protobuf/socket.rb
protobuffy-3.5.1 lib/protobuf/socket.rb
protobuffy-3.4.0 lib/protobuf/socket.rb
protobuffy-3.3.0 lib/protobuf/socket.rb
protobuffy-3.2.0 lib/protobuf/socket.rb
protobuffy-3.1.0 lib/protobuf/socket.rb
protobuf-3.3.6 lib/protobuf/socket.rb
protobuf-3.3.5 lib/protobuf/socket.rb
protobuf-3.3.4 lib/protobuf/socket.rb
protobuf-3.3.3 lib/protobuf/socket.rb
protobuf-3.3.2 lib/protobuf/socket.rb
protobuf-3.3.1 lib/protobuf/socket.rb
protobuf-3.3.0 lib/protobuf/socket.rb
protobuf-3.2.1 lib/protobuf/socket.rb
protobuf-3.2.0 lib/protobuf/socket.rb
protobuf-3.1.0 lib/protobuf/socket.rb
protobuf-3.0.5 lib/protobuf/socket.rb
protobuf-3.0.4 lib/protobuf/socket.rb
protobuf-2.8.13 lib/protobuf/socket.rb
protobuf-3.0.3 lib/protobuf/socket.rb