Sha256: 607e2fa101d2a412e7d854b93639d56e362d7cd6360e3c14e9a2a2f8f15f498b

Contents?: true

Size: 585 Bytes

Versions: 25

Compression:

Stored size: 585 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

25 entries across 25 versions & 2 rubygems

Version Path
protobuf-3.6.12 lib/protobuf/socket.rb
protobuf-3.6.11 lib/protobuf/socket.rb
protobuf-3.6.10 lib/protobuf/socket.rb
protobuf-3.7.0.pre2 lib/protobuf/socket.rb
protobuf-3.6.9 lib/protobuf/socket.rb
protobuf-3.7.0.pre1 lib/protobuf/socket.rb
protobuf-3.7.0.pre0 lib/protobuf/socket.rb
protobuf-3.6.7 lib/protobuf/socket.rb
protobuf-3.6.6 lib/protobuf/socket.rb
protobuf-3.6.2 lib/protobuf/socket.rb
protobuf-3.6.1 lib/protobuf/socket.rb
protobuf-3.6.0 lib/protobuf/socket.rb
protobuf-3.5.5 lib/protobuf/socket.rb
protobuf-3.5.4 lib/protobuf/socket.rb
protobuf-3.5.3 lib/protobuf/socket.rb
protobuf-3.5.2 lib/protobuf/socket.rb
protobuf-3.5.1 lib/protobuf/socket.rb
prepor-protobuf-3.5.1 lib/protobuf/socket.rb
prepor-protobuf-3.5.0 lib/protobuf/socket.rb
protobuf-3.5.0 lib/protobuf/socket.rb