struct Protocol::IO::Read

Overview

Read a chunk of the stream

Included Modules

Defined in:

protocol/io.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def base64_encoded : Bool | Nil #

Set if the data is base64-encoded


[View source]
def data : String #

Data that were read.


[View source]
def eof : Bool #

Set if the end-of-file condition occurred while reading.


[View source]