Sha256: 2fec764684490b74dca9dde31b72f9235320e4f5750593b3c557b111339defbc

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

##
## HTTP Mode
##
#
# Require this file if you wish to run your server and/or client RPC
# with the HTTP handlers.
#
# To run with rpc_server specify the switch `http`:
#
#   rpc_server --http myapp.rb
#
# To run for client-side only override the require in your Gemfile:
#
#   gem 'protobuf', :require => 'protobuf/http'
#
require 'protobuf'
require 'protobuf/rpc/servers/http/server'
require 'protobuf/rpc/connectors/http'

::Protobuf.connector_type_class = ::Protobuf::Rpc::Connectors::Http

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
protobuffy-4.0.1 lib/protobuf/http.rb
protobuffy-4.0.0 lib/protobuf/http.rb