15 #ifndef IDENTITYSTREAM_H 16 #define IDENTITYSTREAM_H 18 #include "pandabase.h" 23 #include "socketStream.h" 24 #include "identityStreamBuf.h" 43 class IIdentityStream :
public ISocketStream {
45 INLINE IIdentityStream();
46 INLINE IIdentityStream(BioStreamPtr *source, HTTPChannel *doc,
47 bool has_content_length,
size_t content_length);
49 INLINE IIdentityStream &open(BioStreamPtr *source, HTTPChannel *doc,
50 bool has_content_length,
size_t content_length);
51 virtual ~IIdentityStream();
53 virtual bool is_closed();
55 virtual ReadState get_read_state();
58 IdentityStreamBuf _buf;
61 #include "identityStream.I" 63 #endif // HAVE_OPENSSL