mirror of
https://github.com/sofastack/sofa-rpc-node.git
synced 2026-01-18 15:55:54 +00:00
15 lines
397 B
JavaScript
15 lines
397 B
JavaScript
'use strict';
|
|
|
|
exports.RpcServer = require('./server');
|
|
exports.RpcService = require('./service');
|
|
exports.RpcResponse = require('./response');
|
|
exports.RpcConnection = require('./connection');
|
|
|
|
// avoid stderr "ExperimentalWarning: The http2 module is an experimental API."
|
|
Object.defineProperty(exports, 'GRpcServer', {
|
|
get() {
|
|
return require('./grpc/server');
|
|
},
|
|
enumerable: true,
|
|
});
|