Sha256: 0bc3c28eea3694a11857b8d534ce5914754ae586dcae6d51336897d1394cfbba

Contents?: true

Size: 1.28 KB

Versions: 50

Compression:

Stored size: 1.28 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: smarthttp.proto for package 'gitaly'

require 'grpc'
require 'smarthttp_pb'

module Gitaly
  module SmartHTTPService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.SmartHTTPService'

      # The response body for GET /info/refs?service=git-upload-pack
      # Will be invoked when the user executes a `git fetch`, meaning the server
      # will upload the packs to that user. The user doesn't upload new objects.
      rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
      # The response body for GET /info/refs?service=git-receive-pack
      # Will be invoked when the user executes a `git push`, meaning the server
      # will receive new objects in the pack from the user.
      rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
      # Request and response body for POST /upload-pack
      rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
      # Request and response body for POST /receive-pack
      rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
gitaly-1.77.1 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.78.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.77.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.76.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.75.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.74.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.73.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.72.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.71.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.70.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.69.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.68.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.67.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.66.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.65.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.64.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.63.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.62.0 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.59.2 ruby/proto/gitaly/smarthttp_services_pb.rb
gitaly-1.61.0 ruby/proto/gitaly/smarthttp_services_pb.rb