package amqp-client-lwt

  1. Overview
  2. Docs

This method selects a SASL security mechanism.

type t = {
  1. client_properties : peer_properties;
  2. mechanism : Amqp_client_lib.Types.shortstr;
    (*

    A single security mechanisms selected by the client, which must be one of those specified by the server.

    *)
  3. response : Amqp_client_lib.Types.longstr;
    (*

    A block of opaque data passed to the security mechanism. The contents of this data are defined by the SASL security mechanism.

    *)
  4. locale : Amqp_client_lib.Types.shortstr;
    (*

    A single message locale selected by the client, which must be one of those specified by the server.

    *)
}
val init : client_properties:peer_properties -> mechanism:Amqp_client_lib.Types.shortstr -> response:Amqp_client_lib.Types.longstr -> locale:Amqp_client_lib.Types.shortstr -> unit -> t
OCaml

Innovation. Community. Security.