// package: org.interledger.stream.proto // file: ilp_over_http_service.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as ilp_over_http_service_pb from "./ilp_over_http_service_pb"; import * as send_payment_request_pb from "./send_payment_request_pb"; import * as send_payment_response_pb from "./send_payment_response_pb"; interface IIlpOverHttpServiceService extends grpc.ServiceDefinition { sendMoney: IIlpOverHttpServiceService_ISendMoney; } interface IIlpOverHttpServiceService_ISendMoney extends grpc.MethodDefinition { path: "/org.interledger.stream.proto.IlpOverHttpService/SendMoney"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const IlpOverHttpServiceService: IIlpOverHttpServiceService; export interface IIlpOverHttpServiceServer extends grpc.UntypedServiceImplementation { sendMoney: grpc.handleUnaryCall; } export interface IIlpOverHttpServiceClient { sendMoney(request: send_payment_request_pb.SendPaymentRequest, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; sendMoney(request: send_payment_request_pb.SendPaymentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; sendMoney(request: send_payment_request_pb.SendPaymentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; } export class IlpOverHttpServiceClient extends grpc.Client implements IIlpOverHttpServiceClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public sendMoney(request: send_payment_request_pb.SendPaymentRequest, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; public sendMoney(request: send_payment_request_pb.SendPaymentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; public sendMoney(request: send_payment_request_pb.SendPaymentRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: send_payment_response_pb.SendPaymentResponse) => void): grpc.ClientUnaryCall; }