echofi-client
Version:
A comprehensive TypeScript/JavaScript client library for EchoFi services with automatic gRPC-Web code generation, unified service access, and real-time WebSocket communication.
32 lines • 2.24 kB
TypeScript
/**
* @fileoverview gRPC-Web generated client stub for auth
* @enhanceable
* @public
*/
import * as grpcWeb from 'grpc-web';
import * as auth_service_pb from './service_pb';
export declare class AuthServiceClient {
client_: grpcWeb.AbstractClientBase;
hostname_: string;
credentials_: null | {
[index: string]: string;
};
options_: null | {
[index: string]: any;
};
constructor(hostname: string, credentials?: null | {
[index: string]: string;
}, options?: null | {
[index: string]: any;
});
methodDescriptorGetSession: grpcWeb.MethodDescriptor<auth_service_pb.GetSessionRequest, auth_service_pb.GetSessionResponse>;
getSession(request: auth_service_pb.GetSessionRequest, metadata?: grpcWeb.Metadata | null): Promise<auth_service_pb.GetSessionResponse>;
getSession(request: auth_service_pb.GetSessionRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: auth_service_pb.GetSessionResponse) => void): grpcWeb.ClientReadableStream<auth_service_pb.GetSessionResponse>;
methodDescriptorCreateSession: grpcWeb.MethodDescriptor<auth_service_pb.CreateSessionRequest, auth_service_pb.CreateSessionResponse>;
createSession(request: auth_service_pb.CreateSessionRequest, metadata?: grpcWeb.Metadata | null): Promise<auth_service_pb.CreateSessionResponse>;
createSession(request: auth_service_pb.CreateSessionRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: auth_service_pb.CreateSessionResponse) => void): grpcWeb.ClientReadableStream<auth_service_pb.CreateSessionResponse>;
methodDescriptorDeleteSession: grpcWeb.MethodDescriptor<auth_service_pb.DeleteSessionRequest, auth_service_pb.DeleteSessionResponse>;
deleteSession(request: auth_service_pb.DeleteSessionRequest, metadata?: grpcWeb.Metadata | null): Promise<auth_service_pb.DeleteSessionResponse>;
deleteSession(request: auth_service_pb.DeleteSessionRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: auth_service_pb.DeleteSessionResponse) => void): grpcWeb.ClientReadableStream<auth_service_pb.DeleteSessionResponse>;
}
//# sourceMappingURL=ServiceServiceClientPb.d.ts.map