UNPKG

ocpp-rpc

Version:

A client & server implementation of the WAMP-like RPC-over-websocket system defined in the OCPP protocols (e.g. OCPP1.6-J and OCPP2.0.1).

10 lines (9 loc) 421 B
export declare function getPackageIdent(): string; export declare function getErrorPlainObject(err: Error): any; export declare function createRPCError(type: string, message?: any, details?: {}): Record<string, any>; declare const _default: { getErrorPlainObject: typeof getErrorPlainObject; createRPCError: typeof createRPCError; getPackageIdent: typeof getPackageIdent; }; export default _default;