to the websocket endpoint, example: wss://server/ws/amqp
Optionalvhost: stringOptionalusername: stringOptionalpassword: stringOptionalname: stringOptionalframeMax: numberOptionalheartbeat: numberOptionallogger: null | Loggeroptional logger instance, defaults to null (no logging)
OptionalblockedSet when the server has blocked publishing (connection.blocked reason).
Maximum number of channels negotiated with the server.
Open channels, indexed by channel id.
Whether the connection is closed.
Protected OptionalcloseProtected OptionalconnectMaximum frame size in bytes negotiated with the server.
Heartbeat interval in seconds.
Logger instance, or undefined to disable logging.
OptionalnameConnection name, visible in the RabbitMQ management UI.
OptionalondisconnectCallback when connection is lost
Optionalerror: ErrorThe error that caused the disconnection, if any
Callback for connection-level errors.
Protected OptionalonPassword for authentication.
OptionalplatformPlatform identifier sent in client properties.
ReadonlyurlWebSocket URL to connect to.
Username for authentication.
Virtual host to connect to.
Open a channel
Optionalid: numberAn existing or non existing specific channel
Gracefully close the AMQP connection.
Optionalreason: string = ""might be logged by the server
ProtectedcloseEstablish a AMQP connection over WebSocket
to send
fulfilled when the data is enqueued
Staticplatform
WebSocket client for AMQP 0-9-1 servers.