• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • amqp-client-async

  • Documentation
  • amqp-client-async lib
  • Amqp_client_async .Spec .Connection .Secure Module
package amqp-client-async
  • amqp-client-async
    • Amqp_client_async
      • Amqp
      • Channel
        • Transaction
      • Connection
      • Constants
      • Exchange
      • Framing
      • Message
      • Protocol_helpers
      • Queue
      • Rpc
        • Client
        • Server
      • Spec
        • Basic
          • Ack
          • Cancel
          • Cancel_ok
          • Consume
          • Consume_ok
          • Content
          • Deliver
          • Get
          • Get_empty
          • Get_ok
          • Nack
          • Publish
          • Qos
          • Qos_ok
          • Recover
          • Recover_async
          • Recover_ok
          • Reject
          • Return
        • Channel
          • Close
          • Close_ok
          • Flow
          • Flow_ok
          • Open
          • Open_ok
        • Confirm
          • Select
          • Select_ok
        • Connection
          • Blocked
          • Close
          • Close_ok
          • Open
          • Open_ok
          • Secure
          • Secure_ok
          • Start
          • Start_ok
          • Tune
          • Tune_ok
          • Unblocked
        • Exchange
          • Bind
          • Bind_ok
          • Declare
          • Declare_ok
          • Delete
          • Delete_ok
          • Unbind
          • Unbind_ok
        • Queue
          • Bind
          • Bind_ok
          • Declare
          • Declare_ok
          • Delete
          • Delete_ok
          • Purge
          • Purge_ok
          • Unbind
          • Unbind_ok
        • Tx
          • Commit
          • Commit_ok
          • Rollback
          • Rollback_ok
          • Select
          • Select_ok
      • Thread
        • Deferred
          • List
        • Ivar
        • Log
        • Pipe
          • Reader
          • Writer
        • Reader
        • Scheduler
        • Tcp
        • Writer
Legend:
Library
Module
Module type
Parameter
Class
Class type

The SASL protocol works by exchanging challenges and responses until both peers have received sufficient information to authenticate each other. This method challenges the client to provide more information.

type t = {
  1. challenge : Amqp_client_lib.Types.longstr;
    (*

    Challenge information, a block of opaque binary data passed to the security mechanism.

    *)
}
val init : challenge:Amqp_client_lib.Types.longstr -> unit -> t
val reply : ?once:bool -> (Framing.t * Framing.channel_no) -> (t -> Secure_ok.t Thread.Deferred.t) -> unit Thread.Deferred.t

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct