AWSS3ChunkedEncodingInputStream Class Reference

Inherits from NSInputStream
Conforms to NSStreamDelegate
Declared in AWSSignature.h
AWSSignature.m

Overview

A subclass of NSInputStream that wraps an input stream and adds signature of chunk data.

Other Methods

– initWithInputStream:date:scope:kSigning:headerSignature:

Initialize the input stream with date, scope, signing key and signature of request headers.

- (instancetype)initWithInputStream:(NSInputStream *)stream date:(NSDate *)date scope:(NSString *)scope kSigning:(NSData *)kSigning headerSignature:(NSString *)headerSignature

Declared In

AWSSignature.h

+ computeContentLengthForChunkedData:

Computes new content length after data being chunked encoded.

+ (NSUInteger)computeContentLengthForChunkedData:(NSUInteger)dataLength

Declared In

AWSSignature.h

Other Methods

+ oneChunkedDataSize:

Computes the size of one data chunk

+ (NSUInteger)oneChunkedDataSize:(NSUInteger)dataLength

Discussion

;chunk-signature=\r\n \r\n

Declared In

AWSSignature.m