Sha256: a88e3437c6de2928bb4a8902785620fa0adf9b6651a5ea761eb7979750e41dfe

Contents?: true

Size: 1013 Bytes

Versions: 161

Compression:

Stored size: 1013 Bytes

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
      rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
      # The response body for GET /info/refs?service=git-receive-pack
      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

161 entries across 161 versions & 6 rubygems

Version Path
gitaly-0.11.0 ruby/lib/gitaly/smarthttp_services_pb.rb