openai
Version:
The official TypeScript library for the OpenAI API
12 lines • 467 B
JavaScript
/** Standard WebSocket readyState values (RFC 6455). */
export const ReadyState = {
/** The connection has been created but is not ready to send messages. */
CONNECTING: 0,
/** The connection is established and ready to send messages. */
OPEN: 1,
/** The closing handshake has started but is not complete. */
CLOSING: 2,
/** The connection is closed or could not be established. */
CLOSED: 3,
};
//# sourceMappingURL=ws-adapter.mjs.map