AwsChunkedByteReadChannel
class AwsChunkedByteReadChannel(delegate: <Error class: unknown class>, signer: AwsSigner, signingConfig: AwsSigningConfig, previousSignature: ByteArray, trailingHeaders: <Error class: unknown class> = DeferredHeaders.Empty)
aws-chunked content encoding. Operations on this class can not be invoked concurrently. This class wraps an SdkByteReadChannel. When reads are performed on this class, it will read the wrapped data and return it in aws-chunked content encoding.
Parameters
delegate
the underlying SdkByteReadChannel which will have its data encoded in aws-chunked format
signer
the signer to use to sign chunks and (optionally) chunk trailer
signingConfig
the config to use for signing
previousSignature
the previous signature to use for signing. in most cases, this should be the seed signature
trailingHeaders
the optional trailing headers to include in the final chunk
See also
Constructors
Link copied to clipboard
constructor(delegate: <Error class: unknown class>, signer: AwsSigner, signingConfig: AwsSigningConfig, previousSignature: ByteArray, trailingHeaders: <Error class: unknown class> = DeferredHeaders.Empty)