Class: Anthropic::Internal::JsonLStream

Inherits:
Object
  • Object
show all
Includes:
Type::BaseStream
Defined in:
lib/anthropic/internal/jsonl_stream.rb

Overview

Examples:

stream.each do |batch|
  puts(batch)
end

Generic:

  • Elem

Instance Attribute Summary

Attributes included from Type::BaseStream

#headers, #status

Method Summary

Methods included from Type::BaseStream

#close, #each, #initialize, #inspect, #to_enum