Home  > 

Class client

A top-level container of connections, sessions, senders, and receivers. It serves as an entry point to the API, allowing connections and links to be established.

Related: Class connection, Class session, Class sender, Class receiver

AMQP: Conceptual overview

Basic properties and methods

PropertySummaryTypeDefault valueMutableNullable
id A globally unique client identifierstringgenerated
MethodSummaryInputsOutputs
constructor Create a new client[client-options]client
close Close any open connections, sessions, senders, and receiversfuture of endpoint
(await) close Close any open connections, sessions, senders, and receiverstask of client

Connection operations

MethodSummaryInputsOutputs
connect Create and open an outbound connectionhost, [port], [connection-options]connection