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).

8 lines (7 loc) 763 B
import RPCClient, { IHandlersOption } from "./lib/client"; import RPCServer from "./lib/server"; export { createRPCError } from "./lib/util"; export { createValidator } from "./lib/validator"; export { NOREPLY } from "./lib/symbols"; export { RPCError, RPCFormatViolationError, RPCFormationViolationError, RPCFrameworkError, RPCGenericError, RPCInternalError, RPCMessageTypeNotSupportedError, RPCNotImplementedError, RPCNotSupportedError, RPCOccurenceConstraintViolationError, RPCOccurrenceConstraintViolationError, RPCPropertyConstraintViolationError, RPCProtocolError, RPCSecurityError, RPCTypeConstraintViolationError, TimeoutError, UnexpectedHttpResponse, WebsocketUpgradeError, } from "./lib/errors"; export { RPCServer, RPCClient, IHandlersOption };