@creditkarma/thrift-server-core
Version:
Thrift core library in TypeScript
19 lines • 506 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.TProtocol = void 0;
const logger_1 = require("../logger");
class TProtocol {
constructor(trans, logger = logger_1.defaultLogger) {
this.transport = trans;
this.logger = logger;
this.requestId = null;
}
getTransport() {
return this.transport;
}
flush() {
return this.transport.flush();
}
}
exports.TProtocol = TProtocol;
//# sourceMappingURL=TProtocol.js.map
;