package jupyter-kernel

  1. Overview
  2. Docs

Sockets to Jupyter

See https://jupyter-client.readthedocs.io/en/latest/messaging.html

type t = {
  1. shell : [ `Router ] Zmq_lwt.Socket.t;
  2. control : [ `Router ] Zmq_lwt.Socket.t;
  3. stdin : [ `Router ] Zmq_lwt.Socket.t;
  4. iopub : [ `Pub ] Zmq_lwt.Socket.t;
  5. heartbeat : [ `Rep ] Zmq_lwt.Socket.t;
}
val open_sockets : Protocol_t.connection_info -> t
val close_sockets : t -> unit Lwt.t
val heartbeat : t -> unit Lwt.t
val dump : string -> [ `Router ] Zmq_lwt.Socket.t -> unit Lwt.t
OCaml

Innovation. Community. Security.