ipython-kernel-0.11.0.0: A library for creating kernels for IPython frontends
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHaskell.IPython.Message.Parser

Description

This module is responsible for converting from low-level ByteStrings obtained from the 0MQ sockets into Messages. The only exposed function is parseMessage, which should only be used in the low-level 0MQ interface.

Documentation

parseMessage Source #

Arguments

:: [ByteString]

The list of identifiers sent with the message.

-> ByteString

The header data.

-> ByteString

The parent header, which is just "{}" if there is no header.

-> ByteString

The metadata map, also "{}" for an empty map.

-> ByteString

The message content.

-> [ByteString]

Extra raw data buffer(s)

-> Message

A parsed message.