class GRPC::Transport::StreamData

Overview

StreamData accumulates headers and body for one HTTP/2 stream.

Defined in:

grpc/transport/http2_connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def body : IO::Memory #

[View source]
def body=(body : IO::Memory) #

[View source]
def body_bytes : Bytes #

[View source]
def closed=(closed : Bool) #

[View source]
def closed? : Bool #

[View source]
def header_error : Status | Nil #

[View source]
def header_error=(header_error : Status | Nil) #

[View source]
def headers : Metadata #

[View source]
def headers=(headers : Metadata) #

[View source]