UNPKG

@openevstack/ocpp-rpc

Version:

⚡ A lightweight, production-ready RPC server built with Express and WebSocket for handling OCPP-based EV charger communication. Part of the OpenEVStack ecosystem.

33 lines (32 loc) 1.71 kB
import RpcClient from "./client"; import { RpcServer } from "./server"; import { createRPCError } from "./utils/rpcError"; import { createValidator } from "./utils/validator"; import * as errors from "./errors"; import * as symbols from "./utils/symbols"; declare const _default: { NOREPLY: typeof symbols.NOREPLY; WebsocketUpgradeError: typeof errors.WebsocketUpgradeError; TimeoutError: typeof errors.TimeoutError; UnexpectedHttpResponse: typeof errors.UnexpectedHttpResponse; RPCError: typeof errors.RPCError; RPCGenericError: typeof errors.RPCGenericError; RPCNotImplementedError: typeof errors.RPCNotImplementedError; RPCNotSupportedError: typeof errors.RPCNotSupportedError; RPCInternalError: typeof errors.RPCInternalError; RPCProtocolError: typeof errors.RPCProtocolError; RPCSecurityError: typeof errors.RPCSecurityError; RPCFormatViolationError: typeof errors.RPCFormatViolationError; RPCFormationViolationError: typeof errors.RPCFormationViolationError; RPCPropertyConstraintViolationError: typeof errors.RPCPropertyConstraintViolationError; RPCOccurrenceConstraintViolationError: typeof errors.RPCOccurrenceConstraintViolationError; RPCOccurenceConstraintViolationError: typeof errors.RPCOccurenceConstraintViolationError; RPCTypeConstraintViolationError: typeof errors.RPCTypeConstraintViolationError; RPCMessageTypeNotSupportedError: typeof errors.RPCMessageTypeNotSupportedError; RPCFrameworkError: typeof errors.RPCFrameworkError; RpcServer: typeof RpcServer; RpcClient: typeof RpcClient; createRPCError: typeof createRPCError; createValidator: typeof createValidator; }; export default _default;