From 21d3023a9b7b6aff68c1170e345951396b1c6cfd Mon Sep 17 00:00:00 2001 From: 单军华 Date: Tue, 31 Jul 2018 13:35:21 +0800 Subject: [PATCH] no message --- screendisplay/Pods/ASIHTTPRequest/Classes/ASIInputStream.h | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/ASIHTTPRequest/Classes/ASIInputStream.h b/screendisplay/Pods/ASIHTTPRequest/Classes/ASIInputStream.h new file mode 100755 index 0000000..7b9f93e --- /dev/null +++ b/screendisplay/Pods/ASIHTTPRequest/Classes/ASIInputStream.h @@ -0,0 +1,26 @@ +// +// ASIInputStream.h +// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest +// +// Created by Ben Copsey on 10/08/2009. +// Copyright 2009 All-Seeing Interactive. All rights reserved. +// + +#import <Foundation/Foundation.h> + +@class ASIHTTPRequest; + +// This is a wrapper for NSInputStream that pretends to be an NSInputStream itself +// Subclassing NSInputStream seems to be tricky, and may involve overriding undocumented methods, so we'll cheat instead. +// It is used by ASIHTTPRequest whenever we have a request body, and handles measuring and throttling the bandwidth used for uploading + +@interface ASIInputStream : NSObject { + NSInputStream *stream; + ASIHTTPRequest *request; +} ++ (id)inputStreamWithFileAtPath:(NSString *)path request:(ASIHTTPRequest *)request; ++ (id)inputStreamWithData:(NSData *)data request:(ASIHTTPRequest *)request; + +@property (retain, nonatomic) NSInputStream *stream; +@property (assign, nonatomic) ASIHTTPRequest *request; +@end -- Gitblit v1.8.0