Crig::HttpClient::StreamingResponse
Constructors
new(stream : Stream(Result(Bytes, Error)), status_code : Int32 = 200, headers : HTTP::Headers | Nil = nil)
Sourcenew(channel : Channel(Result(Bytes, Error)), status_code : Int32 = 200, headers : HTTP::Headers | Nil = nil)
SourceInstance methods
headers
Sourcereceive
Sourcereceive?
Sourcestatus_code
Sourcestream
Source