class GRPC::RawResponseStream

Overview

RawResponseStream is the internal transport-level handle for sending streaming responses. It operates on raw Bytes and is used by the transport and interceptor layers. Service implementations receive the typed ResponseStream(T) instead.

Defined in:

grpc/stream.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(send_proc : Bytes -> Nil) #

[View source]

Instance Method Detail

def send_raw(message_bytes : Bytes) : Nil #

send_raw encodes one message body and pushes it to the HTTP/2 stream.


[View source]