struct IPC::Message::JSONMessage

Overview

Clients send and receive JSON (or CBOR) payloads.

Included Modules

Defined in:

ipc/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(utype : UInt8, payload : String, mtype : UInt8 = 1) #

[View source]
def self.new(pull : ::JSON::PullParser) #

[View source]

Instance Method Detail

def mtype : UInt8 #

[View source]
def mtype=(mtype : UInt8) #

[View source]
def payload : String #

[View source]
def payload=(payload : String) #

[View source]
def utype : UInt8 #

[View source]
def utype=(utype : UInt8) #

[View source]