14 #ifndef IDENTITYSTREAM_H
15 #define IDENTITYSTREAM_H
39 class IIdentityStream :
public ISocketStream {
41 INLINE IIdentityStream();
42 INLINE IIdentityStream(BioStreamPtr *source, HTTPChannel *doc,
43 bool has_content_length,
size_t content_length);
45 INLINE IIdentityStream &open(BioStreamPtr *source, HTTPChannel *doc,
46 bool has_content_length,
size_t content_length);
47 virtual ~IIdentityStream();
49 virtual bool is_closed();
51 virtual ReadState get_read_state();
54 IdentityStreamBuf _buf;
59 #endif // HAVE_OPENSSL