package jupyter-kernel

  1. Overview
  2. Docs

Module Jupyter_kernel.SocketsSource

Sockets to Jupyter

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

Sourcetype 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;
}
Sourceval open_sockets : Protocol_t.connection_info -> t
Sourceval close_sockets : t -> unit Lwt.t
Sourceval heartbeat : t -> unit Lwt.t
Sourceval dump : string -> [ `Router ] Zmq_lwt.Socket.t -> unit Lwt.t
OCaml

Innovation. Community. Security.