class AzureBlob::Client
def get_blob(key, options = {})
[+:end+]
Starting point in bytes
[+:start+]
Options:
Takes a key (path) and options.
Calls to the {Get Blob}[https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob] endpoint.
Returns the full or partial content of the blob
def get_blob(key, options = {}) uri = generate_uri("#{container}/#{key}") headers = { "x-ms-range": options[:start] && "bytes=#{options[:start]}-#{options[:end]}", } Http.new(uri, headers, signer:).get end