UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 449 B
import { mn as errorShape, pn as ErrorCodes } from "./schema-BrDi0lZs.js"; import "./src-BNueln22.js"; //#region src/gateway/server-methods/connect.ts /** * Rejects `connect` after the WebSocket handshake already established identity. */ const connectHandlers = { connect: ({ respond }) => { respond(false, void 0, errorShape(ErrorCodes.INVALID_REQUEST, "connect is only valid as the first request")); } }; //#endregion export { connectHandlers };