BufferSize changes the default size in bytes of the chunks that Writer will upload in a single request; larger blobs will be split into multiple requests.
This option may be ignored by some drivers.
If 0, the driver will choose a reasonable default.
If the Writer is used to do many small writes concurrently, using a smaller BufferSize may reduce memory usage.
CacheControl specifies caching attributes that services may use when serving the blob. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
ContentDisposition specifies whether the blob content is expected to be displayed inline or as an attachment. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
ContentEncoding specifies the encoding used for the blob's content, if any. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
ContentLanguage specifies the language used in the blob's content, if any. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language
ContentMD5 is used as a message integrity check. If len(ContentMD5) > 0, the MD5 hash of the bytes written must match ContentMD5, or Close will return an error without completing the write. https://tools.ietf.org/html/rfc1864
ContentType specifies the MIME type of the blob being written. If not set, it will be inferred from the content using the algorithm described at http://mimesniff.spec.whatwg.org/. Set DisableContentTypeDetection to true to disable the above and force the ContentType to stay empty. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type
When true, if ContentType is the empty string, it will stay the empty string rather than being inferred from the content. Note that while the blob will be written with an empty string ContentType, most providers will fill one in during reads, so don't expect an empty ContentType if you read the blob back.
MaxConcurrency changes the default concurrency for parts of an upload.
This option may be ignored by some drivers.
If 0, the driver will choose a reasonable default.
Metadata holds key/value strings to be associated with the blob, or nil. Keys may not be empty, and are lowercased before being written. Duplicate case-insensitive keys (e.g., "foo" and "FOO") will result in an error.
Generated using TypeDoc
WriterOptions sets options for NewWriter.