##// END OF EJS Templates
Document version request messaging protocol
Takafumi Arakaki -
Show More
@@ -670,6 +670,44 b' Message type: ``connect_reply``::'
670 }
670 }
671
671
672
672
673 Version
674 -------
675
676 If a client needs to know what protocol the kernel supports, it can
677 ask version number of the messaging protocol supported by the kernel.
678 This message can be used to fetch other core information of the
679 kernel, including language (e.g., Python), language version number and
680 IPython version number.
681
682 Message type: ``version_request``::
683
684 content = {
685 }
686
687 Message type: ``version_reply``::
688
689 content = {
690 # Version of messaging protocol (mandatory).
691 # The first integer indicates major version. It is incremented when
692 # there is any backward incompatible change.
693 # The second integer indicates minor version. It is incremented when
694 # there is any backward compatible change.
695 'protocol_version': [int, int],
696
697 # IPython version number (optional).
698 # Non-python kernel backend may not have this version number.
699 'ipython_version': [int, int, int, str],
700
701 # Language version number (mandatory).
702 # It is Python version number (e.g., [2, 7, 3]) for the kernel
703 # included in IPython.
704 'language_version': [int, ...],
705
706 # Programming language in which kernel is implemented (mandatory).
707 # Kernel included in IPython returns 'python'.
708 'language': str,
709 }
710
673
711
674 Kernel shutdown
712 Kernel shutdown
675 ---------------
713 ---------------
General Comments 0
You need to be logged in to leave comments. Login now