@creditkarma/thrift-server-core
Version:
Thrift core library in TypeScript
9 lines (8 loc) • 411 B
TypeScript
import { IProtocolConstructor, ProtocolType } from '../types';
export * from './BinaryProtocol';
export * from './CompactProtocol';
export * from './JSONProtocol';
export * from './TProtocol';
export declare const supportedProtocols: Array<string>;
export declare function isProtocolSupported(protocol: ProtocolType): boolean;
export declare function getProtocol(protocol?: ProtocolType): IProtocolConstructor;