package mqtt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type client
val connect_options : ?clientid:string -> ?userpass:cxn_userpass -> ?will:(string * string) -> ?flags:cxn_flags list -> ?timer:int -> unit -> cxn_data
val connect : ?opt:cxn_data -> ?error_fn:(client -> exn -> unit monad) -> ?port:int -> string -> client monad
val publish : ?opt:pkt_opt -> ?id:int -> client -> string -> string -> unit monad
val subscribe : ?opt:pkt_opt -> ?id:int -> client -> (string * qos) list -> unit monad
val disconnect : client -> unit monad
val sub_stream : client -> (string * string) Lwt_stream.t