Sha256: 19855eb119bf3fc4f50e860086f8d8470465f81b295104e116b2057947993995

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 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'
Protobuf.connector_type = :http

require 'protobuf/rpc/servers/http/server'
require 'protobuf/rpc/connectors/http'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
protobuffy-3.6.0 lib/protobuf/http.rb
protobuffy-3.5.1 lib/protobuf/http.rb
protobuffy-3.4.0 lib/protobuf/http.rb
protobuffy-3.3.0 lib/protobuf/http.rb
protobuffy-3.2.0 lib/protobuf/http.rb
protobuffy-3.1.0 lib/protobuf/http.rb