Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
NATS::Objects::Bucket
Inherits
Struct
/
Value
/
Object
Constructors
new
(name :
String
, stream_name :
String
, client :
NATS::Objects::Client
)
Source
new
(stream :
JetStream::Stream
, client :
Objects::Client
)
Source
Instance methods
delete
(key :
String
)
Source
get
(key :
String
)
Source
get!
(key :
String
)
Source
get_info
(key :
String
)
Source
get_info!
(key :
String
)
Source
keys
(pattern :
String
= ">")
Source
name
Source
put
(key :
String
, value :
IO
, *, description :
String
|
Nil
= nil, headers :
Headers
=
Headers
.new, chunk_size :
Int
=
DEFAULT_CHUNK_SIZE
)
Source
put
(key :
String
, value :
String
|
Bytes
, **kwargs)
Source
stream_name
Source